You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[vite-plugin-pwa:build] node_modules/.pnpm/@[email protected]/node_modules/@maptiler/sdk/dist/maptiler-sdk.mjs (11:7): "default" is not exported by "node_modules/.pnpm/[email protected]/node_modules/events/events.js", imported by "node_modules/.pnpm/@[email protected]/node_modules/@maptiler/sdk/dist/maptiler-sdk.mjs".
file: /Users/nevendrean/code/elixir/solidyjs/assets/node_modules/.pnpm/@[email protected]/node_modules/@maptiler/sdk/dist/maptiler-sdk.mjs:11:7
I tried: import nodePolyfills from "rollup-plugin-polyfill-node"; and rollupOptons: {plugins: [nodePolyfills(/)],...} without success
The text was updated successfully, but these errors were encountered:
I use
Vite
to bundle.In https://github.com/maptiler/leaflet-maptilersdk#from-es-module-the-async-way, you have:
The first line works if I use the "default":
but the second line fails:
I tried:
import nodePolyfills from "rollup-plugin-polyfill-node";
androllupOptons: {plugins: [nodePolyfills(/)],...}
without successThe text was updated successfully, but these errors were encountered: