Skip to content

Commit

Permalink
Revert "set publicPath to auto to remove absolute path script tag"
Browse files Browse the repository at this point in the history
This reverts commit e155453.
  • Loading branch information
Woozl committed Jun 21, 2023
1 parent 3bc6055 commit f0194d8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ const config = {
},
output: {
path: path.resolve(__dirname, 'pack'),
publicPath: '/',
filename: 'bundle.js',
// https://github.com/webpack/webpack/issues/1114
// libraryTarget: 'commonjs2'
Expand Down
3 changes: 3 additions & 0 deletions webpack.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@ const common = require('./webpack.common.js');
module.exports = merge(common, {
devtool: 'source-map',
mode: 'production',
output: {
publicPath: '/question-builder/',
},
});

0 comments on commit f0194d8

Please sign in to comment.