Import custom identifier called css with error "Cannot find module 'linaria'" #739
Labels
bug report 🦗
Issue is probably a bug, but it needs to be checked
bundler: webpack 📦
Issue is related to webpack bundler
needs: complete repro 🖥️
Issue need to have complete repro provided
Environment
linaria
package into multiple@linaria/*
Description
When import
css
from some module like './utils', webpack will throw an error "Cannot find module 'linaria'"Because the package 'linaria' is deprecated, At here try the resolve this. And then require.resolve will throw an exception.
Example
https://codesandbox.io/s/linaria-demo-forked-rbivr?file=/src/index.js
The text was updated successfully, but these errors were encountered: