Closed MoyuScript closed 2 years ago
This PR contains:
Are tests included?
Breaking Changes?
If yes, then include "BREAKING CHANGES:" in the first commit message body, followed by a description of what is breaking.
List any relevant issue numbers:
When output.publicPath is not ends with /, the path of output will be incorrect.
output.publicPath
/
Webpack configuration:
output: { publicPath: '/public/js' },
Wrong output:
{ "index.js": "/public/jsindex.04565a72d083184c3c5a.js" }
Correct output:
{ "index.js": "/public/js/index.04565a72d083184c3c5a.js" }
Thanks for the PR. Looks like you have a few failing tests to address before we can accept it.
This PR contains:
Are tests included?
Breaking Changes?
If yes, then include "BREAKING CHANGES:" in the first commit message body, followed by a description of what is breaking.
List any relevant issue numbers:
Description
When
output.publicPath
is not ends with/
, the path of output will be incorrect.Webpack configuration:
Wrong output:
Correct output: