diff --git a/package.json b/package.json index 138da54..18681ae 100644 --- a/package.json +++ b/package.json @@ -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",