million
are you using?1.0.0
None
npm
Mac
Chrome
Update: - Seeing same error with rspack
In my webpack (v.5.91.0) config I added:
import million from '@million/lint';
plugins: [
million.webpack(),
... other plugins
]
And i'm getting this error:
/Users/uriklar/Code/MY_PROJECT/node_modules/unplugin/dist/webpack/loaders/transform.js:104
const plugin = (_a = this._compiler) == null ? void 0 : _a.$unpluginContext[unpluginName];
^
TypeError: Cannot read properties of undefined (reading 'anya')
at Object.transform (/Users/uriklar/Code/MY_PROJECT/node_modules/unplugin/dist/webpack/loaders/transform.js:104:78)
at LOADER_EXECUTION (/Users/uriklar/Code/MY_PROJECT/node_modules/loader-runner/lib/LoaderRunner.js:132:14)
at runSyncOrAsync (/Users/uriklar/Code/MY_PROJECT/node_modules/loader-runner/lib/LoaderRunner.js:133:4)
at iterateNormalLoaders (/Users/uriklar/Code/MY_PROJECT/node_modules/loader-runner/lib/LoaderRunner.js:251:2)
at /Users/uriklar/Code/MY_PROJECT/node_modules/loader-runner/lib/LoaderRunner.js:224:4
at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read/context:68:3)
```
### What's the expected result?
The build to pass
### Link to Minimal Reproducible Example
https://stackblitz.com/sorry-cant-create-one-right-now
### Participation
- [X] I am willing to submit a pull request for this issue.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too