next export - missing stylesheets - sass files not being linked in the static html export #15613
Unanswered
aditibarbhai
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Bug report
Describe the bug
I'm using sass modules for my site and exporting a static site using
npm export
. The sass modules are working fine withnext dev
, however, when I do the export, the resulting html file that is generated doesn't have the sass files linked (even though they are exported with the rest of the static files). There is no<link>
in the.html
file for the sass modules, therefore, there styling does not show up.To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
styles.module.scss
used in one of your pages)next export
out/index.html
to find the styling missingExpected behavior
Expected the styling/stylesheets to show up in the exported pages, but it does not
System information
Additional context
This is my
next.config.js
:This is my
.babelrc.js
:This is my
package.json
:Beta Was this translation helpful? Give feedback.
All reactions