File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ const plugins = (minify) =>
30
30
module : {
31
31
type : 'es6'
32
32
} ,
33
- sourceMaps : true
33
+ sourceMaps : false
34
34
} ) ,
35
35
minify
36
36
? terser ( {
@@ -54,7 +54,7 @@ export default [
54
54
file : 'dist/chart.umd.js' ,
55
55
format : 'umd' ,
56
56
indent : false ,
57
- sourcemap : true ,
57
+ sourcemap : false ,
58
58
} ,
59
59
} ,
60
60
@@ -75,7 +75,7 @@ export default [
75
75
banner,
76
76
format : 'esm' ,
77
77
indent : false ,
78
- sourcemap : true ,
78
+ sourcemap : false ,
79
79
} ,
80
80
} ,
81
81
@@ -96,7 +96,7 @@ export default [
96
96
banner,
97
97
format : 'commonjs' ,
98
98
indent : false ,
99
- sourcemap : true ,
99
+ sourcemap : false ,
100
100
} ,
101
101
}
102
102
] ;
Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ export function getMaximumSize(
200
200
const maintainHeight = bbWidth !== undefined || bbHeight !== undefined ;
201
201
202
202
if ( maintainHeight && aspectRatio && containerSize . height && height > containerSize . height ) {
203
- height = containerSize . height ;
203
+ height = round1 ( containerSize . height ) ;
204
204
width = round1 ( Math . floor ( height * aspectRatio ) ) ;
205
205
}
206
206
You can’t perform that action at this time.
0 commit comments