Closed tjx666 closed 1 year ago
Describe the bug
Can't transform import "lodash"
vitePluginImp({ libList: [ { libName: '@xxx/yyy-antd', libDirectory: 'es', style: (name) => `@xxx/yyy-antd/es/${name}/style/css.js`, }, ], }),
Libarary Info(please complete the following information):
"vite-plugin-imp": "^2.3.1", "lodash": "4.17.21"
To Reproduce
This happen in my company project, which is a large vite + vu2 project. Two package will use this plugin to tramsform import:
Expected behavior No this warning, or provide an option to supress this warning.
Please provide a minimal repo to reproduce this issue.
@psaren When make this warn, should also console.log the file this plugin are transforming
After upgrade rollup and relatived plugins, this issue disapear
Describe the bug
Libarary Info(please complete the following information):
To Reproduce
This happen in my company project, which is a large vite + vu2 project. Two package will use this plugin to tramsform import:
Expected behavior No this warning, or provide an option to supress this warning.