EvalError
error with Vite build and core-js
#1247
Labels
bug report 🦗
Issue is probably a bug, but it needs to be checked
bundler: rollup 🗞️
Issue is related to rollup bundler
bundler: webpack 📦
Issue is related to webpack bundler
needs: complete repro 🖥️
Issue need to have complete repro provided
Environment
@linaria/vite@4.2.11
vite@4.3.5
Description
With
import 'core-js/stable'
, linaria crashes vite builds:Is there any way to opt out of linaria evaluating files in
node_modules
?Reproducible Demo
https://github.com/nstepien/vite-bug/tree/vite-linaria-corejs
Clone the repo, checkout the
vite-linaria-corejs
branch,npm ci
npm run build
-> crashThe text was updated successfully, but these errors were encountered: