File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " vue-advanced-cropper" ,
3
- "version" : " 0.15.0 " ,
3
+ "version" : " 0.15.1 " ,
4
4
"description" : " The advanced library to create your own croppers suited for any website design" ,
5
5
"author" : " Norserium" ,
6
6
"license" : " MIT" ,
23
23
"npm" : " >=5"
24
24
},
25
25
"scripts" : {
26
- "build" : " cross-env NODE_ENV=build rollup -c" ,
26
+ "build" : " cross-env NODE_ENV=production rollup -c" ,
27
27
"start" : " cross-env NODE_ENV=build rollup -c -w" ,
28
28
"prepare" : " npm run build" ,
29
29
"predeploy" : " cd example && npm install && npm run build" ,
Original file line number Diff line number Diff line change @@ -15,17 +15,17 @@ export default {
15
15
{
16
16
file : pkg . main ,
17
17
format : 'cjs' ,
18
- sourcemap : true
18
+ sourcemap : process . env . NODE_ENV !== 'production'
19
19
} ,
20
20
{
21
21
file : pkg . module ,
22
22
format : 'es' ,
23
- sourcemap : true
23
+ sourcemap : process . env . NODE_ENV !== 'production'
24
24
} ,
25
25
{
26
26
file : pkg . umd ,
27
27
format : 'umd' ,
28
- sourcemap : true ,
28
+ sourcemap : process . env . NODE_ENV !== 'production' ,
29
29
name : 'vue-advanced-cropper'
30
30
}
31
31
] ,
You can’t perform that action at this time.
0 commit comments