mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Move public path to dev config
This commit is contained in:
parent
4642d55b7b
commit
dadd74e730
2 changed files with 4 additions and 1 deletions
|
@ -6,6 +6,10 @@ module.exports = merge(base, {
|
|||
// Enable source maps for dev (fast compilation, slow runtime)
|
||||
devtool: 'cheap-module-eval-source-map',
|
||||
|
||||
output: {
|
||||
publicPath: '/public/js/frontend/'
|
||||
},
|
||||
|
||||
devServer: {
|
||||
// Disable webpack dev server auto-reload
|
||||
inline: false,
|
||||
|
|
|
@ -12,7 +12,6 @@ module.exports = {
|
|||
// kept in memory for speed
|
||||
output: {
|
||||
path: path.join(__dirname, '/public/js/frontend'),
|
||||
// publicPath: '/frontend/',
|
||||
|
||||
filename: '[name].js',
|
||||
|
||||
|
|
Loading…
Reference in a new issue