Closed AdamMerrifield closed 7 months ago
vue-final-modal fails to import during SSR because the module is seen as a commonjs module and not an ES module.
vue-final-modal
More information here: https://nodejs.org/api/esm.html#resolution-algorithm
Relevant section:
Here is a minimum example. https://stackblitz.com/edit/github-4qeonz?file=README.md
In this example pnpm dev functions fine, but pnpm build fails
pnpm dev
pnpm build
fixes #404 fixes #326 fixes #365
vue-final-modal
fails to import during SSR because the module is seen as a commonjs module and not an ES module.More information here: https://nodejs.org/api/esm.html#resolution-algorithm
Relevant section:
Here is a minimum example. https://stackblitz.com/edit/github-4qeonz?file=README.md
In this example
pnpm dev
functions fine, butpnpm build
failsfixes #404 fixes #326 fixes #365