|
|
@ -105,9 +105,10 @@ module.exports = function registerICSS(_options) {
|
|
|
|
|
|
|
|
|
|
|
|
let extensions = options.extensions;
|
|
|
|
let extensions = options.extensions;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// TODO: Figure out a way to allow specifying custom PostCSS (and other transpilation?) configs from within a package
|
|
|
|
let unhook = pirates.addHook(
|
|
|
|
let unhook = pirates.addHook(
|
|
|
|
(code, fullPath) => process(fullPath, code),
|
|
|
|
(code, fullPath) => process(fullPath, code),
|
|
|
|
{ exts: extensions }
|
|
|
|
{ exts: extensions, ignoreNodeModules: false }
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
return unhook;
|
|
|
|
return unhook;
|
|
|
|