File tree Expand file tree Collapse file tree 4 files changed +5
-9
lines changed Expand file tree Collapse file tree 4 files changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ export default {
3131 modules : false ,
3232 dangerousForOf : true
3333 } ,
34- objedtAssign : 'Object.assign'
34+ objectAssign : 'Object.assign'
3535 } ) ,
3636 ( process . env . NODE_ENV === 'production' && uglify ( ) )
3737 ]
Original file line number Diff line number Diff line change 1- // Set up environment
2- import 'shelljs/global'
3- if ( env . BUILD_TARGET !== 'DEMO' ) env . NODE_ENV = 'production'
4-
51// Import base config
62import base from './rollup.base'
73
84base . output . file = base . proDest
9- base . output . sourcemap = env . BUILD_ENV === 'DEMO' || env . BUILD_ENV === 'CI' ? base . output . sourcemap : false
5+ base . output . sourcemap = process . env . BUILD_ENV === 'DEMO' || process . env . BUILD_ENV === 'CI' ? base . output . sourcemap : false
106
117export default base
Original file line number Diff line number Diff line change 11{
22 "name" : " eft-parser" ,
3- "version" : " 0.5.11 " ,
3+ "version" : " 0.5.12 " ,
44 "description" : " ef.js template parser" ,
55 "main" : " dist/eft-parser.min.js" ,
66 "module" : " src/eft-parser.js" ,
77 "scripts" : {
88 "dev" : " rollup -c ./config/rollup.dev.js -w" ,
9- "build" : " rollup -c ./config/rollup.build.js" ,
9+ "build" : " NODE_ENV=production rollup -c ./config/rollup.build.js" ,
1010 "lint" : " eslint --ext .js src"
1111 },
1212 "repository" : {
You can’t perform that action at this time.
0 commit comments