Unable to integrate linaria 3.0.0-beta.1 in a TypeScript project. #729
Labels
bug report 🦗
Issue is probably a bug, but it needs to be checked
bundler: webpack 📦
Issue is related to webpack bundler
cat: performance 🚀
Issue is related to performance
cat: typings 👮
Typescript types related issues
needs: complete repro 🖥️
Issue need to have complete repro provided
platform: ssr 🛠️
Issue related to SSR
Environment
Description
Trying to set up a new TypeScript React project, bundled with Webpack 5, using Linaria 3 beta as CSS in JS interface. The webpack config file looks like:
Click to see the full version.
Running a dev server with
webpack serve
gives the following error: inReproducible Demo
Just made a minimal reproduction of the issue. Reproduction steps are:
Also made a branch with [JavaScript version](https://github.com/findawayer/linaria3-ts-webpack-test/tree/js], do the same, linaria does not complain about babel settings. Added comparison link between 2 branches FYI.
The text was updated successfully, but these errors were encountered: