Skip to content

Enable extractCSS in production

Paul Gascou-Vaillancourt requested to merge 418-fix-style-inconsistencies into master

It seems like our CSS is compiled differently when running Nuxt in production than it is in development. Enabling extractCSS seems to fix the issue.

About extractCSS:

Enables Common CSS Extraction using Vue Server Renderer guidelines. Using extract-css-chunks-webpack-plugin under the hood, all your CSS will be extracted into separate files, usually one per component. This allows caching your CSS and JavaScript separately and is worth a try in case you have a lot of global or shared CSS.

Closes #418 (closed)

Edited by Paul Gascou-Vaillancourt

Merge request reports