chore: move build scripts into build folder

This commit is contained in:
surunzi
2020-03-19 14:14:08 +08:00
parent 103e45cd20
commit ffa7fd7215
8 changed files with 4 additions and 4 deletions

14
build/webpack.release.js Normal file
View File

@@ -0,0 +1,14 @@
const webpack = require('webpack')
exports = require('./webpack.base')
exports.mode = 'production'
exports.output.filename = 'eruda.js'
exports.devtool = 'source-map'
exports.plugins = exports.plugins.concat([
new webpack.DefinePlugin({
ENV: '"production"'
})
])
module.exports = exports