File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ module.exports = function(karma) {
1818 // we will prefer the unminified build which is easier to browse and works
1919 // better with source mapping. In other cases, pick the minified build to
2020 // make sure that the minification process (terser) doesn't break anything.
21- const regex = / c h a r t \. m i n \. j s $ / ;
21+ const regex = / c h a r t \. u m d \. j s $ / ;
2222 const build = builds . filter ( v => v . output . file && v . output . file . match ( regex ) ) [ 0 ] ;
2323
2424 if ( karma . autoWatch ) {
Original file line number Diff line number Diff line change 55 "version" : " 3.9.0" ,
66 "license" : " MIT" ,
77 "type" : " module" ,
8- "jsdelivr" : " dist/chart.min .js" ,
9- "unpkg" : " dist/chart.min .js" ,
8+ "jsdelivr" : " dist/chart.umd .js" ,
9+ "unpkg" : " dist/chart.umd .js" ,
1010 "main" : " dist/chart.js" ,
1111 "exports" : {
1212 "." : " ./dist/chart.js" ,
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ const banner = `/*!
1313
1414module . exports = [
1515 // UMD build
16- // dist/chart.min .js
16+ // dist/chart.umd .js
1717 {
1818 input : 'src/index.umd.js' ,
1919 plugins : [
@@ -27,7 +27,7 @@ module.exports = [
2727 ] ,
2828 output : {
2929 name : 'Chart' ,
30- file : 'dist/chart.min .js' ,
30+ file : 'dist/chart.umd .js' ,
3131 format : 'umd' ,
3232 indent : false ,
3333 } ,
Original file line number Diff line number Diff line change 66// Sends messages with data of types: { type: 'success' } | { type: 'error', errorMessage: string }
77
88// eslint-disable-next-line no-undef
9- importScripts ( '../src/chart.min .js' ) ;
9+ importScripts ( '../src/chart.umd .js' ) ;
1010
1111onmessage = function ( event ) {
1212 try {
You can’t perform that action at this time.
0 commit comments