add kvision template

This commit is contained in:
Adam 2021-10-22 18:16:57 +02:00
parent 5e69799136
commit 3a33062cd4
15 changed files with 228 additions and 1 deletions

View file

@ -0,0 +1,15 @@
;(function() {
const webpack = require('webpack')
try {
const moment = require("moment");
config.plugins.push(new webpack.IgnorePlugin({
resourceRegExp: /^\.\/locale$/,
contextRegExp: /moment$/,
}));
config.plugins.push(new webpack.ProvidePlugin({
moment: "moment",
"window.moment": "moment"
}));
} catch (e) {
}
})();