Skip to content

Commit

Permalink
Merge pull request #70 from Raymond0212/patch-1
Browse files Browse the repository at this point in the history
use relative publicPath to enable flexible root url
  • Loading branch information
leonardomendix authored Aug 21, 2024
2 parents 474ac93 + 8064b79 commit 578591f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module.exports = {
filename: `${widgetName}/widget/[name].js`,
chunkFilename: `${widgetName}/widget/${widgetName}[id].js`,
libraryTarget: "amd",
publicPath: "/widgets/",
publicPath: "widgets/",
jsonpFunction: "label_selector_jsonp"
},
devtool: false,
Expand Down

0 comments on commit 578591f

Please sign in to comment.