2
0
mirror of https://github.com/tenrok/maska.git synced 2026-06-20 20:00:34 +03:00

Initial commit

This commit is contained in:
Alexander Shabunevich
2019-09-25 15:22:31 +03:00
commit 0690000a62
14 changed files with 9037 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
const prod = process.env.NODE_ENV === 'production'
module.exports = {
mode: prod ? 'production' : 'development',
output: {
filename: 'maska.js',
library: 'Maska',
libraryTarget: 'umd',
umdNamedDefine: true
},
module: {
rules: [
{
test: /\.m?js$/,
exclude: /(node_modules|bower_components)/,
use: {
loader: 'babel-loader',
options: {
presets: ['@babel/preset-env']
}
}
}
]
}
}