Skip to content

Commit

Permalink
set publicPath to auto to remove absolute path script tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Woozl committed Jun 20, 2023
1 parent 4069776 commit e155453
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ 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: 0 additions & 3 deletions webpack.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,4 @@ const common = require('./webpack.common.js');
module.exports = merge(common, {
devtool: 'source-map',
mode: 'production',
output: {
publicPath: '/question-builder/',
},
});

0 comments on commit e155453

Please sign in to comment.