3 ms·
I use Webpack for isomorphic code. The trick is to hook up loaders in node via: require.extensions['.css'] = loaderFunction
by pornel 11y ago
I use Webpack for isomorphic code. The trick is to hook up loaders in node via:
require.extensions['.css'] = loaderFunction
- pluma 11y agoI thought require hooks were deprecated (although they are likely to stick around for a while because legacy support)?