Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit cb5f327

Browse filesBrowse files
committed
split vue-hot-reload-api
1 parent b6a3b65 commit cb5f327
Copy full SHA for cb5f327

File tree

Expand file treeCollapse file tree

3 files changed

+4
-186
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+4
-186
lines changed

‎lib/hot-reload-api.js

Copy file name to clipboardExpand all lines: lib/hot-reload-api.js
-183Lines changed: 0 additions & 183 deletions
This file was deleted.

‎lib/loader.js

Copy file name to clipboardExpand all lines: lib/loader.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ module.exports = function (content) {
122122
process.env.NODE_ENV !== 'production' &&
123123
(parts.script.length || parts.template.length)
124124
) {
125-
var hotReloadAPIPath = require.resolve('./hot-reload-api').replace(/\\/g, '\\\\')
125+
var hotReloadAPIPath = require.resolve('vue-hot-reload-api').replace(/\\/g, '\\\\')
126126
var scriptString = parts.script.length ? getRequireString('script', parts.script[0], 0) : ''
127127
var templateString = parts.template.length ? getRequireString('template', parts.template[0], 0, hasLocalStyles) : ''
128128
var accepted = []

‎package.json

Copy file name to clipboardExpand all lines: package.json
+3-2Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-loader",
3-
"version": "4.0.5",
3+
"version": "4.0.6",
44
"description": "Vue.js component loader for Webpack",
55
"main": "index.js",
66
"repository": {
@@ -27,7 +27,8 @@
2727
"loader-utils": "^0.2.10",
2828
"parse5": "^1.5.0",
2929
"postcss": "^4.1.16",
30-
"postcss-selector-parser": "^1.1.2"
30+
"postcss-selector-parser": "^1.1.2",
31+
"vue-hot-reload-api": "^1.0.0"
3132
},
3233
"peerDependencies": {
3334
"vue-html-loader": "^1.0.0",

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.