From 400ed9b4314bbb7839d34324659cb33c47a70202 Mon Sep 17 00:00:00 2001 From: Vasil Trifonov Date: Thu, 20 Sep 2018 11:54:15 +0300 Subject: [PATCH] Remove vue-hot-reload-api-patcher as it is already updated --- template/vue-hot-reload-api-patcher.js | 5 ----- template/webpack.config.js | 7 ------- 2 files changed, 12 deletions(-) delete mode 100644 template/vue-hot-reload-api-patcher.js 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: [