Environment
- Linaria version:
@linaria/[email protected]
- Bundler (+ version): N/A
- Node.js version: Node 16
- OS: N/A
Description
I checked the latest version on one of our projects and build there fails tslib_1.__importStar. In logs I noticed following:
2023-02-10T14:39:21.123Z linaria:module:00003 [code-cache] [] is missing ([ '__exportStar' ] were cached)
2023-02-10T14:39:21.123Z linaria:module:00003 [evaluated] get __importStar: undefined
Reproducible Demo
Note: I tried to build a smaller repro, but failed 🙃
EvalError: /home/projects/node-znzrvt/code/Button.js: tslib_1.__importStar is not a function in
| /home/projects/node-znzrvt/node_modules/@fluentui/react-icons/lib-cjs/icons/chunk-0.js
| /home/projects/node-znzrvt/node_modules/@fluentui/react-icons/lib-cjs/index.js
| /home/projects/node-znzrvt/code/Button.js
at Module.evaluate (file:///home/projects/node-znzrvt/node_modules/@linaria/babel-preset/lib/module.js:362:13)
at require.Object.assign.ensure (file:///home/projects/node-znzrvt/node_modules/@linaria/babel-preset/lib/module.js:302:13)
at eval (file:///home/projects/node-znzrvt/node_modules/@fluentui/react-icons/lib-cjs/index.js:10:22)
at eval (file:///home/projects/node-znzrvt/node_modules/@fluentui/react-icons/lib-cjs/index.js:103:3)
Environment
@linaria/[email protected]Description
I checked the latest version on one of our projects and build there fails
tslib_1.__importStar. In logs I noticed following:Reproducible Demo
Note: I tried to build a smaller repro, but failed 🙃
yarnnode index.js