How can I use 'copy' in stencil config, I am trying to make all i18n.json be available after compilation.
export const config: Config = {
namespace: 'components',
plugins: [
...
],
outputTargets: [
...
],
copy: [
{
src: "**/*.i18n.*.json",
dest: "i18n",
warn: true
}
],
};
Error:
copy: { src: string; dest: string; warn: boolean; }[]; }' is not assignable to type 'StencilConfig'