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
I am using the latest version of Snowpack and all plugins.
What package manager are you using?
npm
What operating system are you using?
macOS
Describe the bug
When using remote streaming via source: remote and trying to serve the built files/bundles, I receive an error from the browser. This is because as opposed to dev mode, the browser tries to load http://localhost:3000/_snowpack/pkg/react which does not end with .js and as a result it throws an error as below:
Steps to reproduce
I used create-skypack-app with Typescript templete
Tried npm yarn build and use serve build and I can see the page
I change config packageOptions: { source: 'remote', }, and run the build and serve
I get error from the browser (see screen shot)5. Error! Describe what went wrong (and what was expected instead)...
Link to minimal reproducible example (optional)
No response
The text was updated successfully, but these errors were encountered:
Quick checklist
What package manager are you using?
npm
What operating system are you using?
macOS
Describe the bug
When using remote streaming via
source: remote
and trying to serve the built files/bundles, I receive an error from the browser. This is because as opposed to dev mode, the browser tries to loadhttp://localhost:3000/_snowpack/pkg/react
which does not end with.js
and as a result it throws an error as below:Steps to reproduce
npm yarn build
and useserve build
and I can see the pagepackageOptions: { source: 'remote', },
and run the build and serveLink to minimal reproducible example (optional)
No response
The text was updated successfully, but these errors were encountered: