mirror of
https://github.com/liriliri/eruda.git
synced 2026-02-02 09:49:00 +08:00
chore: move build scripts into build folder
This commit is contained in:
14
build/webpack.release.js
Normal file
14
build/webpack.release.js
Normal 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
|
||||
Reference in New Issue
Block a user