I'm not a big Webpack/Babel/tsconfig ninja, that's why I'm asking this. 🙂
ATM this is the tsconfig file for pcf-scripts:
{
"compilerOptions": {
"jsx": "react",
"target": "es5",
"module": "commonjs",
"lib": ["ES6", "DOM"],
"strict": true,
"strictPropertyInitialization": false
},
"exclude": [
"./node_modules"
]
}
I'm using some other libs when developing my component thus I have to set target: es6 and lib: ["es2015", "dom"].
I took a look at webpackConfig.js, but didn't notice anything forbidding me to do so.
Using the new tsconfig the component compiles successfully.
So is it possible to make these changes and not break the pac tool(s)?