Open lionnnnn opened 1 year ago
I am switching one of my repository to a monorepo and I am facing the same issue, it's not related to pnpm, I have the same issue with yarn.
If I remove the vite-eslint-plugin from my vite.config, it's working well. I can't figure out what's happening :/
TypeError: a is not a function
❯ TransformContext.transform node_modules/.pnpm/vite-plugin-eslint@1.8.1_eslint@8.40.0_vite@4.3.7/node_modules/vite-plugin-eslint/dist/index.js:1:2334
❯ Object.transform node_modules/.pnpm/vite@4.3.7_@types+node@20.1.6/node_modules/vite/dist/node/chunks/dep-1f986b87.js:42919:44
❯ loadAndTransform node_modules/.pnpm/vite@4.3.7_@types+node@20.1.6/node_modules/vite/dist/node/chunks/dep-1f986b87.js:53385:29
@lionnnnn Related to @originjs/vite-plugin-federation?
My vite-plugin-eslint version is 1.3.0
I wonder is that anything wrong after I just upgrade my pnpm to 7.0? Should I upgrade vite-plugin-eslint at the same time ?