Skip to content

Commit 7fcdbd4

Browse files
committed
feat: module.hot support (closes #2)
1 parent 05aa049 commit 7fcdbd4

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
/examples
22
yarn-error.log
33
logo.png
4+
.github

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ the plugin\'s generator will write some `main.html` for corresponding main.{js,t
155155
- ❌ require('xxx') or require('xxx').default, most of the case, it can be replaced by dynamicImport ( import('xxx') or import('xxx').then(module => module.default) )
156156
- ❌ '~some-module' syntax for Import CSS (will not support, we have workaround)
157157
- ✅ require.context compatibility
158-
- ⬜️ module.hot compatibility (WIP)
158+
- module.hot compatibility
159159

160160
## Examples
161161
- [simple vue-cli SPA project](https://github.com/IndexXuan/vue-cli-plugin-vite/tree/main/examples/my-mpa-ts-app)

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-cli-plugin-vite",
3-
"version": "0.1.3",
3+
"version": "0.1.4",
44
"description": "out-of-box vite dev for vue-cli project",
55
"main": "index.js",
66
"author": "[email protected]",
@@ -25,7 +25,7 @@
2525
"vite": "2.0.1",
2626
"vite-plugin-vue2": "1.2.1",
2727
"vite-plugin-env-compatible": "0.0.3",
28-
"vite-plugin-vue-cli": "0.1.0",
28+
"vite-plugin-vue-cli": "0.2.0",
2929
"vite-plugin-mpa": "0.1.0"
3030
},
3131
"devDependencies": {

0 commit comments

Comments
 (0)