mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-24 17:51:51 +02:00
Move public path to dev config
This commit is contained in:
@@ -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',
|
||||
|
||||
|
||||
Reference in New Issue
Block a user