Skip to content

Commit

Permalink
Merge pull request #2462 from acrobat/fix-webpack-output-path
Browse files Browse the repository at this point in the history
[GeneratorBundle] Fix webpack output path for admin-bundle-extra js
  • Loading branch information
acrobat committed Jul 2, 2019
2 parents 933bb6e + 9b3ab97 commit f1ffdc8
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -5,7 +5,8 @@ export default function webpackConfigAdminExtra(speedupLocalDevelopment, optimiz

config.entry = './{% if isV4 %}assets{% else %}src/{{ bundle.namespace|replace({'\\':'/'}) }}/Resources{% endif %}/admin/js/admin-bundle-extra.js';
config.output = {
filename: './{% if isV4 %}public{% else %}web{% endif %}/frontend/js/admin-bundle-extra.js',
path: path.resolve(__dirname, '../../{% if isV4 %}public{% else %}web{% endif %}/frontend/js'),
filename: 'admin-bundle-extra.js',
};

return config;
Expand Down

0 comments on commit f1ffdc8

Please sign in to comment.