Open knownasilya opened 8 years ago
csjs-extractify
needs to run before babelify
. I suspect this is what is happening:
csjs`.foo {}`
is being turned into:
"use strict";
var _templateObject = _taggedTemplateLiteral([".foo {}"], [".foo {}"]);
function _taggedTemplateLiteral(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
csjs(_templateObject);
Which csjs-extractify won't recognize.
Thanks! Will give it a try!
I also tried
csjs-extractify
but it creates a blank CSS file. Is there a way to get it to work?