Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

webpack not generating css/js folders in dist #8

Closed
Kaustix opened this issue Sep 21, 2021 · 2 comments
Closed

webpack not generating css/js folders in dist #8

Kaustix opened this issue Sep 21, 2021 · 2 comments

Comments

@Kaustix
Copy link

Kaustix commented Sep 21, 2021

Running yarn dev only emits the files manifest.json and stats.json, and not creating js/css folders nor any any assets.

// manifest.json
{
"app.js": "/js/app.js",
"chunk-vendors.js": "/js/chunk-vendors.js",
"app.js.map": "/js/app.js.map",
"chunk-vendors.js.map": "/js/chunk-vendors.js.map"
}

@Kaustix Kaustix closed this as completed Sep 28, 2021
@funkysoul
Copy link

funkysoul commented Oct 11, 2021

Hmm.. Im also experiencing the same, only when running yarn build the js/css is created. I assume a configuration issue?

@mizziness
Copy link
Owner

Running yarn dev does indeed not output files - this is because it's running webpack dev server in HMR mode. You will only get physical files when using yarn build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants