Adding webpack configs

This commit is contained in:
2020-05-25 04:29:05 +01:00
parent 64e912a892
commit fad247ee8c
2 changed files with 10 additions and 0 deletions

10
webpack.common.js Normal file
View File

@@ -0,0 +1,10 @@
const webpack = require('webpack')
const path = require('path')
module.exports = {
mode: 'development',
entry: path.resolve(__dirname, 'src/main.js'),
output: {
path: path.resolve(__dirname, 'static/dist')
}
}

0
webpack.prod.js Normal file
View File