You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
StefanoMagrassi
changed the title
Compile also to as ES6 modules for better tree-shaking
Compile also as ES6 modules for better tree-shaking
Feb 4, 2019
TS sources has to be compiled also as ES6 module into a specific directory and the path has to be set in the package.json's
module
field.Furthermore, the package.json's
sideEffects
field has to be set tofalse
.This will help tools like Webpack or Rollup to better apply "tree-shaking" when blundling projects which use appy.
package.json
:tsconfig-compile-es6.json
:refs:
The text was updated successfully, but these errors were encountered: