linaria
linaria copied to clipboard
@babel/[email protected] throws warnings with linaria
Environment
Updating @babel/plugin-transform-runtime from 7.18.5 to 7.18.6 lead to the following warning from webpack:
<w> [webpack.cache.PackFileCacheStrategy/webpack.FileSystemInfo] Resolving '@babel/plugin-transform-runtime/lib/index' in '/<project>/node_modules/@linaria/shaker/node_modules/@babel/core/lib/config/files for build dependencies doesn't lead to expected result '/<project>/node_modules/@babel/plugin-transform-runtime/lib/index.js', but to '/<project>/node_modules/@linaria/shaker/node_modules/@babel/plugin-transform-runtime/lib/index.js' instead. Resolving dependencies are ignored for this path.
- Linaria version: 3.0.0-beta.22
- Bundler (+ version): [email protected], [email protected]
- Node.js version: 16.13.1
- OS: macos
Description
When running the next build (dev and prod), this error happens with lots of webpack warnings. I think there is missing peer dependency for the current version of @babel/plugin-transform-runtime
I have the same issue