New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[POC] Support theme-based styles in SFCs #6823
base: develop
Are you sure you want to change the base?
Conversation
Update gulpfile and webpack config
4a9f712
to
957254e
Compare
Something to keep in mind:
For our use case: So for example, if our Medusa is running the At this point, it's probably a good idea to add shortcuts for these, Before committing you will still be required to run either the full build with |
cssThemes
to an arrayIt slows down the build by 40-50%.
Opening this PR as a Proof-of-Concept only at the moment.
Update:
babel-loader
andvue-loader
caching (development builds only)yarn [dev|build] --env.stats
to show)Theme
class instead of separate functionsoneOf
withuse()
module.noParse
jQuery (because it doesn't have any imports)