nystudio107 / annotated-webpack-config

This is the companion github repo for the "An Annotated webpack 4 Config for Frontend Web Development" article.
https://nystudio107.com/blog/an-annotated-webpack-4-config-for-frontend-web-development
MIT License
436 stars 75 forks source link

Theming #19

Closed Floriskoch closed 4 years ago

Floriskoch commented 5 years ago

Would it be possible to output multiple css files using this setup? I would like to set up theme using the same components but using different SCSS/PCSS variables.

I have tried importing multiple .pcss files in app.js but that doesn't seem to work:

import "../stylesheets/theme1.pcss"
import "../stylesheets/theme2.pcss"

Any help would be greatly appreciated!

khalwat commented 4 years ago

Currently, no.