File tree Expand file tree Collapse file tree 5 files changed +597
-24
lines changed Expand file tree Collapse file tree 5 files changed +597
-24
lines changed Original file line number Diff line number Diff line change 11{
2- "presets" : [
3- " @babel/preset-env"
4- ],
2+ "env" : {
3+ "test" : {
4+ "presets" : [
5+ [
6+ " @babel/preset-env" ,
7+ { "modules" : " umd" }
8+ ]
9+ ]
10+ },
11+ "production" : {
12+ "presets" : [
13+ [
14+ " @babel/preset-env" ,
15+ { "modules" : false }
16+ ]
17+ ]
18+ }
19+ },
520 "ignore" : [
6- " node_modules"
7- ],
8- "plugins" : [
9- " add-module-exports"
21+ " node_modules/**"
1022 ]
1123}
Original file line number Diff line number Diff line change @@ -15,10 +15,11 @@ jobs:
1515 script :
1616 - npm run lint
1717 - npm run test
18- - npm run compile:prod
18+ - npm run build
1919 - npm run is-es5
2020 before_script : greenkeeper-lockfile-update
2121 after_script : greenkeeper-lockfile-upload
2222 - stage : deploy
2323 if : branch = master
24+ before_script : npm run build
2425 script : npm run travis-deploy-once "npm run semantic-release"
You can’t perform that action at this time.
0 commit comments