Skip to content

Commit 9aac3b5

Browse files
committed
chore(release): copies es6 index.js file into project root
This satisfies ionic optimization build
1 parent 55522d7 commit 9aac3b5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Diff for: .gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ bower_components
3333
# Compiled binary addons (http://nodejs.org/api/addons.html)
3434
build/Release
3535
dist/
36+
index.js
3637

3738
# Dependency directories
3839
node_modules/

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"test": "NODE_ENV=test nyc mocha spec/*.spec.js",
3737
"coverage.submit": "nyc report --reporter=lcov && codecov",
3838
"lint": "eslint -c .eslintrc src/",
39-
"prerelease": "NODE_ENV=production npm run build && npm test",
39+
"prerelease": "NODE_ENV=production npm run build && npm test && cp dist/es6/index.js .",
4040
"release": "standard-version"
4141
},
4242
"keywords": [

0 commit comments

Comments
 (0)