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
When using @zeit/next-css in next.config.js, in dev mode the CSS successfully built into .next/static/style.css but when using next build to build static version of the app will not generate .next/static/style.css in the directory.
Bug report
Describe the bug
When using
@zeit/next-css
innext.config.js
, in dev mode the CSS successfully built into.next/static/style.css
but when usingnext build
to build static version of the app will not generate.next/static/style.css
in the directory.To Reproduce
You could reproduce this error in this demo https://github.com/Canner/canner-demo/tree/master/nextjs-ecom-with-firebase
next.config.js
is located: https://github.com/Canner/canner-demo/blob/master/nextjs-ecom-with-firebase/functions/next.config.jsSteps to reproduce the behavior, please provide code snippets or a repository:
npm run dev
in dev mode css is generated.2, run
./node_modules/.bin/next build
css is NOT generated in output directory.Expected behavior
When entering
next build
in output folder it should also generate CSS files.System information
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: