Closed jeremiahdir closed 4 years ago
UPDATE: fixed by commenting out the typecheck at webpack-federation-storybook-design-systems-demo/App/node_modules/webpack/lib/javascript/JavascriptModulesPlugin.js Line 115
/* if (!(compilation instanceof Compilation)) {
throw new TypeError(
"The 'compilation' argument must be an instance of Compilation"
);
} */
To reproduce error:
Error occurs with and without adding
nohoist
option to webpackError message during
yarn build
for theDesignSystem
appUpgrading to
beta17
version of Webpack fixes this but creates an issue with the consuming app here: https://github.com/xolvio/webpack-federation-storybook-design-systems-demo/issues/8