Exclude moment from chart.js from webpack.

This commit is contained in:
2020-11-20 18:30:55 +01:00
parent ee5f817248
commit e12e5cafb0

View File

@@ -14,6 +14,9 @@ const webpackConfig = function(isDev) {
vue$: isDev ? "vue/dist/vue.min.js" : "vue/dist/vue.min.js",
"@": helpers.root("src")
}
},
externals: {
moment: 'moment' // comes with chart.js
},
module: {
rules: [