Quantcast
Channel: Active questions tagged svelte - Stack Overflow
Viewing all articles
Browse latest Browse all 1737

Svelte not generating public or dist folder with vite

$
0
0

I'm extremely confused about why when I run npm run buid it says it's compiling everything but it does not generate a public or dist folder. I'm able to develop and preview everything fine with npm run dev. Everything online says to just run this command and it'll generate the files.

 npm run build      > svlt-drag@0.0.1 build> vite buildvite v4.1.4 building SSR bundle for production...✓ 51 modules transformed.5:06:18 PM [vite-plugin-svelte] ssr compile done.package         files     time     avgsvlt-drag           4   31.5ms   7.9ms@sveltejs/kit       1   13.1ms  13.1msvite v4.1.4 building for production...✓ 42 modules transformed.5:06:19 PM [vite-plugin-svelte] dom compile done.package     files     time     avgsvlt-drag       5   62.0ms  12.4ms.svelte-kit/output/client/_app/version.json                                 0.03 kB.svelte-kit/output/client/vite-manifest.json                                2.73 kB.svelte-kit/output/client/_app/immutable/assets/_layout.ed6dad0e.css        9.13 kB │ gzip: 2.48 kB.svelte-kit/output/client/_app/immutable/chunks/2.6b2094ff.js               0.08 kB │ gzip: 0.10 kB.svelte-kit/output/client/_app/immutable/chunks/1.4e7307ad.js               0.08 kB │ gzip: 0.10 kB.svelte-kit/output/client/_app/immutable/chunks/0.8c6f33b6.js               0.09 kB │ gzip: 0.10 kB.svelte-kit/output/client/_app/immutable/entry/_layout.svelte.733b317a.js   0.54 kB │ gzip: 0.36 kB.svelte-kit/output/client/_app/immutable/entry/error.svelte.8dbce21f.js     0.98 kB │ gzip: 0.57 kB.svelte-kit/output/client/_app/immutable/chunks/singletons.ccd991f9.js      2.65 kB │ gzip: 1.38 kB.svelte-kit/output/client/_app/immutable/entry/app.c122a3c5.js              5.61 kB │ gzip: 2.25 kB.svelte-kit/output/client/_app/immutable/entry/_page.svelte.68b65054.js     7.21 kB │ gzip: 3.02 kB.svelte-kit/output/client/_app/immutable/chunks/index.33c9bb49.js           7.72 kB │ gzip: 3.18 kB.svelte-kit/output/client/_app/immutable/entry/start.2b8c1d1f.js           23.16 kB │ gzip: 9.22 kB.svelte-kit/output/server/vite-manifest.json                           1.43 kB.svelte-kit/output/server/_app/immutable/assets/_layout.ad198ccc.css  15.05 kB.svelte-kit/output/server/internal.js                                  0.19 kB.svelte-kit/output/server/entries/pages/_layout.svelte.js              0.25 kB.svelte-kit/output/server/entries/fallbacks/error.svelte.js            0.83 kB.svelte-kit/output/server/entries/pages/_page.svelte.js                2.54 kB.svelte-kit/output/server/chunks/index.js                              3.68 kB.svelte-kit/output/server/chunks/internal.js                           5.09 kB.svelte-kit/output/server/index.js                                    85.12 kBRun npm run preview to preview your production build locally.> Using @sveltejs/adapter-auto  Could not detect a supported production environment. See https://kit.svelte.dev/docs/adapters to learn how to configure your app to run on the platform of your choosing✔ done

Viewing all articles
Browse latest Browse all 1737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>