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:
"lib": ["ES6", "DOM"],
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)?
Try to post here.
You are right, thanks! I didn't find any settings which might transpile the code to ES5 or lower using Babel in pcf-scripts.
I checked my bundle.js and if I switch to target ES6, it stays ES6 😞
Fill out a quick form to claim your user group badge now!
Find out where you can attend!
Features releasing from October 2019 through March 2020
Learn how to build the business apps that you need.