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) =>
3030 module : {
3131 type : 'es6'
3232 } ,
33- sourceMaps : true
33+ sourceMaps : false
3434 } ) ,
3535 minify
3636 ? terser ( {
@@ -54,7 +54,7 @@ export default [
5454 file : 'dist/chart.umd.js' ,
5555 format : 'umd' ,
5656 indent : false ,
57- sourcemap : true ,
57+ sourcemap : false ,
5858 } ,
5959 } ,
6060
@@ -75,7 +75,7 @@ export default [
7575 banner,
7676 format : 'esm' ,
7777 indent : false ,
78- sourcemap : true ,
78+ sourcemap : false ,
7979 } ,
8080 } ,
8181
@@ -96,7 +96,7 @@ export default [
9696 banner,
9797 format : 'commonjs' ,
9898 indent : false ,
99- sourcemap : true ,
99+ sourcemap : false ,
100100 } ,
101101 }
102102] ;
Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ export function getMaximumSize(
200200 const maintainHeight = bbWidth !== undefined || bbHeight !== undefined ;
201201
202202 if ( maintainHeight && aspectRatio && containerSize . height && height > containerSize . height ) {
203- height = containerSize . height ;
203+ height = round1 ( containerSize . height ) ;
204204 width = round1 ( Math . floor ( height * aspectRatio ) ) ;
205205 }
206206
You can’t perform that action at this time.
0 commit comments