import vuex, vue-router leads to module load failure on windows
Reference to https://github.com/vuejs/vite/issues/23
Importing vue-router and vuex
import { createRouter, createWebHistory } from 'vue-router'
import { createStore } from 'vuex'
Leading to errors
OS: Windows 10 Pro Browser: Chrome 81 Node: 12.16
"dependencies": {
"axios": "^0.19.2",
"vue": "^3.0.0-beta.9",
"vue-router": "^4.0.0-alpha.10",
"vuex": "^4.0.0-beta.1"
},
"devDependencies": {
"@vue/compiler-sfc": "^3.0.0-beta.9",
"snowpack": "^1.7.1",
"vite": "^0.10.2"
},