jspm / vite-plugin-jspm

A plugin which externalizes dependencies and resolves them from CDN providers using import maps and es-module-shims!
MIT License
60 stars 9 forks source link

bug: Uncaught TypeError: Failed to resolve module specifier #11

Closed Bisstocuz closed 1 year ago

Bisstocuz commented 1 year ago

Uncaught TypeError: Failed to resolve module specifier "vite/preload-helper". Relative references must start with either "/", "./", or "../".

steps:

  1. pnpm build
  2. pnpm preview

environment: (a Vue 3 + Vite 4 project) demo.zip

Bisstocuz commented 1 year ago

I don't know why import-map is empty:

<script type="importmap">{}</script>
JayaKrishnaNamburu commented 1 year ago

@Bisstocuz a new version of v0.5 is also released with the new @jspm/generator and the two fixes #10 #11 Please let me know if the fix is still not working