Skip to content

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