Closed stavalfi closed 4 years ago
Would you mind including your plugin configuration?
new CircularDependencyPlugin({
exclude: /node_modules/,
failOnError: true,
allowAsyncCycles: false,
cwd: mainFolderPath, // it's the root of the git repository
})
@aackerman did you find out any clues?
I spent a couple hours, but I wasn't able to figure it out. I wasn't able to generate a test case that appeared to have the same errors and the setup for jsstream
wasn't clear enough for me to break down why it was causing a problem.
@stavalfi would you be able to break this down into a smaller test case?
yes. your work here is a must have in almost any kind of a build system.
In my build system, i extracted all build-related stuff to a different package in the same mono-repo so it is easier to setup a new package with a complete build in couple of minutes (Create React App for mono repos)
I believe this is fixed in 5.2.2. Please let me know if it's not and I will reopen.
It looks like something breaks this awesome plugin.
index.ts:
editor.tsx
draw-flow.js
export default () => {}
errors: (only with ts-loader)
I minimized one of the packages which those errors appeared:
https://github.com/stavalfi/jstream
branch: reproduce-bug
run:
yarn install --ignore-scripts && yarn editor
all the webpack stuff is here:
cd packages/build/.config/webpack
Please tell me if i can be any assistent to you.