mirror of https://github.com/zulip/zulip.git
webpack: Fix production setting of publicPath.
This is needed by webpack asynchronous require. Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
parent
05663aa3fa
commit
9f074fc071
|
@ -104,6 +104,7 @@ export default (env?: string): webpack.Configuration => {
|
|||
},
|
||||
output: {
|
||||
path: resolve(__dirname, '../static/webpack-bundles'),
|
||||
publicPath: '/static/webpack-bundles/',
|
||||
filename: production ? '[name].[chunkhash].js' : '[name].js',
|
||||
},
|
||||
resolve: {
|
||||
|
|
Loading…
Reference in New Issue