mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Prod webpack outputs to minjs dir
This commit is contained in:
parent
408c195c6a
commit
44998c05df
1 changed files with 6 additions and 0 deletions
|
@ -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({
|
||||
|
|
Loading…
Reference in a new issue