diff --git a/template/vue-hot-reload-api-patcher.js b/template/vue-hot-reload-api-patcher.js deleted file mode 100644 index b233db9..0000000 --- a/template/vue-hot-reload-api-patcher.js +++ /dev/null @@ -1,5 +0,0 @@ -// TODO: Removed the file once https://github.com/vuejs/vue-hot-reload-api/pull/70 is accepted -module.exports = function (source) { - return `var window = {}; -${source};`; -}; diff --git a/template/webpack.config.js b/template/webpack.config.js index 91ee574..b470f01 100644 --- a/template/webpack.config.js +++ b/template/webpack.config.js @@ -162,13 +162,6 @@ module.exports = env => { }, ].filter(loader => Boolean(loader)), }, - - // TODO: Removed the rule once https://github.com/vuejs/vue-hot-reload-api/pull/70 is accepted - { - test: resolve(__dirname, 'node_modules/vue-hot-reload-api/dist/index.js'), - use: "../vue-hot-reload-api-patcher" - }, - { test: /\.css$/, use: [