FredKSchott / create-snowpack-app

The all-in-one app template for Snowpack. [moved]
https://www.snowpack.dev
Other
727 stars 96 forks source link

[plugin-svelte] Can not find App.css.js #156

Closed rof20004 closed 4 years ago

rof20004 commented 4 years ago

I created a project with this command:

npx create-snowpack-app new-dir --template @snowpack/app-template-svelte --use-yarn

When I use: yarn build it generates build folder.

I execute this inside build folder: http-server -p 3000

When I load the page I got this error and not show anything:

GET http://localhost:3000/_dist_/App.css.js net::ERR_ABORTED 404 (Not Found)

What I am doing wrong?

drwpow commented 4 years ago

Hey @rof20004, we’re actually working on this problem right now. This is definitely a bug; you’re not doing anything wrong. We plan on having a fix for this soon!

drwpow commented 4 years ago

For now, it seems snowpack dev is working fine, so I’d recommend using that until we get the .svelte build issue fixed in a release.

FredKSchott commented 4 years ago

Fixed in https://github.com/pikapkg/snowpack/pull/557 and released in v2.6.2.