Configure Webpack public path

Necessary for assets that Webpack does not inline.

Signed-off-by: Alex Coles <alex@alexbcoles.com>
pull/2263/head
Alex Coles 10 years ago
parent 126a992717
commit 36be337cfe
  1. 3
      frontend/webpack.config.js

@ -23,7 +23,8 @@ module.exports = {
output: {
filename: 'openproject-[name].js',
path: path.join(__dirname, '..', 'app', 'assets', 'javascripts', 'bundles')
path: path.join(__dirname, '..', 'app', 'assets', 'javascripts', 'bundles'),
publicPath: '/assets/bundles/'
},
module: {

Loading…
Cancel
Save