Closed chrispahm closed 4 years ago
For some reason, adding sideEffects: false (used to indicate that imports have no side effects -> reduces bundle sizes in modern builds) removed all CSS from the production build. Seems like a Nuxt/Webpack bug
sideEffects: false
imports
Fixed by setting sideEffects: true for now
sideEffects: true
For some reason, adding
sideEffects: false
(used to indicate thatimports
have no side effects -> reduces bundle sizes in modern builds) removed all CSS from the production build. Seems like a Nuxt/Webpack bugFixed by setting
sideEffects: true
for now