This PR handles the scenario of having an already defined css require extension hook which needs to be applied to .css files only.
In such case, stylable's require-hook will preserve it and handle only .st.css files.
As require order matters, I wonder if there should be another entry point for this hook that doesn't invoke it immediately as a side affect.
This PR handles the scenario of having an already defined css require extension hook which needs to be applied to
.css
files only. In such case,stylable
's require-hook will preserve it and handle only.st.css
files.As require order matters, I wonder if there should be another entry point for this hook that doesn't invoke it immediately as a side affect.
how it should be applied now:
how it can be applied if not invoked immediately:
Let me know what you think.