linaria icon indicating copy to clipboard operation
linaria copied to clipboard

@babel/[email protected] throws warnings with linaria

Open fmacherey opened this issue 3 years ago • 1 comments

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.

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

fmacherey avatar Jul 01 '22 10:07 fmacherey

I have the same issue

ntucker avatar Jul 01 '22 16:07 ntucker