Closed manniL closed 4 years ago
The error is pretty self-descriptive.
Either use build.extractCSS: true
or the postcss mode.
Examples are in tests/fixtures
Like this: https://youtu.be/-Z1hI4Wxblo?t=1337 😉
Hi,
As explained in the issue #46, I've made several tests because I've had scroll issues when using the module.
Webpack mode with Extract CSS was causing scroll issues for me and I've solved it by using postcss mode.
So I guess it's should definitively be the default mode ;)
Can someone please give a one/two sentences explanation about the pros and cons of postcss vs extractCSS? I understand that I can choose between the two but have no idea which one is better for me. why would one pick one over the other? does it matter?
Resolved
Can someone please give a one/two sentences explanation about the pros and cons of postcss vs extractCSS? I understand that I can choose between the two but have no idea which one is better for me. why would one pick one over the other? does it matter?
Usually you want to use it with postcss
. Otherwise, your CSS is extracted in different files (not included in the component files). This can be useful if you have e.g. only global CSS.
Hey is this why I am seeing the following error message when I generate my static site?
ERROR Webpack mode only works with build.extractCSS set to *true*. Either extract your CSS or use 'postcss' mode