Skip to content

Commit

Permalink
fix: esm using import for tree shaking
Browse files Browse the repository at this point in the history
  • Loading branch information
farfromrefug committed May 21, 2020
1 parent 1c10700 commit ae5e438
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"clean": "rimraf ./plugin/**/*.d.ts ./plugin/**/*.js ./plugin/**/*.js.map plugin/node_modules plugin/package-lock.json plugin/README.md demo/node_modules demo-angular/node_modules",
"tsc": "cpy '**/*.d.ts' '../plugin' --parents --cwd=src && tsc -skipLibCheck -d",
"build": "cp README.md ./plugin && rm -f .tsbuildinfo && npm run tsc && npm run build.esm && node ./build.esm.js && npm run ngc ",
"build.esm": "tsc -skipLibCheck --target es2015 --removeComments --outDir build/esm",
"build.esm": "tsc -skipLibCheck --target es2015 --module esnext --removeComments --outDir build/esm",
"tslint": "tslint \"**/*.ts\" --config tslint.json --exclude \"**/node_modules/**\" --exclude '**/platforms/**'",
"plugin.tscwatch": "tsc -skipLibCheck -w",
"demo.android": "npm run build && cd demo && tns run android --syncAllFiles",
Expand Down

0 comments on commit ae5e438

Please sign in to comment.