-
-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
help wantedExtra attention is neededExtra attention is needed
Description
Seems that the resolveId hook fo the jspm:import-mapping plugin never triggers.
I've npm create vite@latest my-vue-app -- --template vue and added the jspm plugin in my vite config as
export default defineConfig({
plugins: [jspmPlugin({debug: true}), vue()]
})
The import map is correctly generated and written in the index.html, but the the output js of the build seems to contain all the modules and when I serve the build directory the browser is not fetching anything from anywhere except the bundle's index.js from the localhost and the es-module-shims.js from ga.jspm.io.
In my package.json i have those deps
"dependencies": {
"vue": "^3.2.47"
},
"devDependencies": {
"@vitejs/plugin-vue": "^4.1.0",
"vite": "^4.3.2",
"vite-plugin-jspm": "^0.4.0"
}
Am I missing some piece of configuration or something trivial?
JayaKrishnaNamburu and peacetruepeacetrue
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed