Skip to content

Commit 985f2ff

Browse files
committed
chore: remove preload plugin from deps for now
We are not going to add it back anytime soon. So removing it help reduces the bundle size. Though webpack 5 and html-webpack-plugin 5 support was added to the plugin, there are still tests to be done for compatibility with the new default configurations. For example, we need to see how the new `defer` option affects the result.
1 parent 06eefe4 commit 985f2ff

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

packages/@vue/cli-service/lib/config/app.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ module.exports = (api, options) => {
112112
.plugin('html')
113113
.use(HTMLPlugin, [htmlOptions])
114114

115-
// FIXME: preload plugin is not compatible with webpack 5 / html-webpack-plugin 4 yet
115+
// FIXME: need to test out preload plugin's compatibility with html-webpack-plugin 4/5
116116
// if (!isLegacyBundle) {
117117
// // inject preload/prefetch to HTML
118118
// webpackConfig

packages/@vue/cli-service/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
"@vue/cli-plugin-vuex": "^5.0.0-alpha.7",
3333
"@vue/cli-shared-utils": "^5.0.0-alpha.7",
3434
"@vue/component-compiler-utils": "^3.1.2",
35-
"@vue/preload-webpack-plugin": "^1.1.0",
3635
"@vue/web-component-wrapper": "^1.3.0",
3736
"acorn": "^8.0.5",
3837
"acorn-walk": "^8.0.2",

0 commit comments

Comments
 (0)