mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-12 21:23:45 +01:00
Prod webpack outputs to minjs dir
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
const path = require('path')
|
||||
const webpack = require('webpack')
|
||||
const merge = require('webpack-merge')
|
||||
|
||||
@@ -7,6 +8,11 @@ module.exports = merge(base, {
|
||||
// Enable a full source map.
|
||||
devtool: 'source-map',
|
||||
|
||||
output: {
|
||||
// Override output path to minjs dir
|
||||
path: path.join(__dirname, '/public/minjs/es'),
|
||||
},
|
||||
|
||||
plugins: [
|
||||
// Use UglifyJS to minimise output
|
||||
new webpack.optimize.UglifyJsPlugin({
|
||||
|
||||
Reference in New Issue
Block a user