Skip to content

Commit 970ade9

Browse files
committed
Revert "Fix bug for configureWebpack.output = 'auto'"
This reverts commit 64933b2.
1 parent 139e693 commit 970ade9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@vue/cli-service/lib/util/validateWebpackConfig.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ module.exports = function validateWebpackConfig (
2828
)
2929
}
3030

31-
if (target === 'app' && ![options.publicPath, 'auto'].includes(singleConfig.output.publicPath)) {
31+
if (target === 'app' && singleConfig.output.publicPath !== options.publicPath) {
3232
throw new Error(
3333
`\n\nConfiguration Error: ` +
3434
`Avoid modifying webpack output.publicPath directly. ` +

0 commit comments

Comments
 (0)