Storybook: Dynamic import argument must be a string or a template literal #1376
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
"storybook": "7.5.1",
"@storybook/react-webpack5": "7.5.1",
"@linaria/babel-preset": "5.0.3",
"@linaria/core": "5.0.2",
"@linaria/react": "5.0.3",
"@linaria/rollup": "5.0.3",
"@linaria/webpack-loader": "5.0.3",
Description
Run "npm run storybook" and will return the error
ERROR in ./storybook-stories.js Module build failed (from ./node_modules/@linaria/webpack-loader/lib/index.js): Error: /storybook-stories.js: Dynamic import argument must be a string or a template literal
but it work fine when I use
"@linaria/babel-preset": "4.5.4",
"@linaria/core": "4.5.4",
"@linaria/react": "4.5.4",
"@linaria/rollup": "4.5.4",
"@linaria/webpack-loader": "4.5.4",
The text was updated successfully, but these errors were encountered: