Closed laggingreflex closed 7 years ago
nodeExternalsWhitelist
solves it. https://github.com/laggingreflex/isomorphic-webpack-demo/commit/73bdec133833ede4f38770df31f0599221b1ac90
createIsomorphicWebpack(webpackConfiguration, {
nodeExternalsWhitelist: [/.css$/],
useCompilationPromise: true
});
Including styles from node_modules gives an error
The error occurs when loading the page, compilation works fine.
repro: https://github.com/laggingreflex/isomorphic-webpack-demo/commit/d2b075fabd525dca824f7d7dba7730b71cdd9d6a