Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add support for params in dynamic imports #1325

Merged
merged 3 commits into from
Aug 17, 2023

Conversation

layershifter
Copy link
Contributor

@layershifter layershifter commented Aug 17, 2023

Motivation

Follows #1318, add support for import(`${variable}`).

Test plan

New tests added.

@changeset-bot
Copy link

changeset-bot bot commented Aug 17, 2023

🦋 Changeset detected

Latest commit: db4ee5e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 23 packages
Name Type
@linaria/babel-preset Patch
@linaria/testkit Patch
@linaria/utils Patch
@linaria/cli Patch
@linaria/esbuild Patch
linaria Patch
@linaria/rollup Patch
@linaria/stylelint Patch
@linaria/vite Patch
@linaria/webpack4-loader Patch
@linaria/webpack5-loader Patch
linaria-website Patch
@linaria/atomic Patch
@linaria/core Patch
@linaria/griffel Patch
@linaria/react Patch
@linaria/shaker Patch
@linaria/tags Patch
esbuild-example Patch
rollup-example Patch
vite-example Patch
vpssr-linaria-solid-example Patch
@linaria/webpack-loader Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@@ -34,7 +34,6 @@
"@babel/core": "^7.22.9",
"@babel/generator": "^7.22.9",
"@babel/plugin-proposal-export-namespace-from": "^7.18.9",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was used only in packages/utils/src/options/dynamic-import-noop.ts, packages/utils/src/options/dynamic-import-noop.ts is a dead file

@layershifter layershifter marked this pull request as ready for review August 17, 2023 15:54
@Anber Anber merged commit b3ef8c1 into callstack:master Aug 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants