Skip to content
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

CSS modules changes to allow plugins more control #293

Merged
merged 1 commit into from
Jan 27, 2018

Conversation

akanix42
Copy link
Contributor

CSS modules changes to allow plugins more control

This PR does 2 things:

  1. tag-handler.js lines 383 - 388 and vue-compiler.js: grants CSS modules plugins (i.e. my plugin 😄) the ability to fully control the CSS modules output. Previously, this output was being run through JSON.stringify in the compiler, now it's being output directly. This is important for me because the lastest version of my CSS modules plugin has the ability to output a Proxy object that displays a helpful error message if the developer attempts to use a class that doesn't exist.
  2. tag-handler.js lines 446-452: updates the built-in CSS modules code so it still works (no functional changes).

…y were restricted to output that would be run through JSON.stringify)
@Akryum Akryum merged commit 8ac1ea2 into meteor-vue:master Jan 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants