mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 08:03:42 -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)
|
// Enable source maps for dev (fast compilation, slow runtime)
|
||||||
devtool: 'cheap-module-eval-source-map',
|
devtool: 'cheap-module-eval-source-map',
|
||||||
|
|
||||||
|
output: {
|
||||||
|
publicPath: '/public/js/frontend/'
|
||||||
|
},
|
||||||
|
|
||||||
devServer: {
|
devServer: {
|
||||||
// Disable webpack dev server auto-reload
|
// Disable webpack dev server auto-reload
|
||||||
inline: false,
|
inline: false,
|
||||||
|
|
|
@ -12,7 +12,6 @@ module.exports = {
|
||||||
// kept in memory for speed
|
// kept in memory for speed
|
||||||
output: {
|
output: {
|
||||||
path: path.join(__dirname, '/public/js/frontend'),
|
path: path.join(__dirname, '/public/js/frontend'),
|
||||||
// publicPath: '/frontend/',
|
|
||||||
|
|
||||||
filename: '[name].js',
|
filename: '[name].js',
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue