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

feat: support dynamic entry #6393

Merged
merged 13 commits into from
Apr 29, 2024
Merged

feat: support dynamic entry #6393

merged 13 commits into from
Apr 29, 2024

Conversation

SyMind
Copy link
Member

@SyMind SyMind commented Apr 29, 2024

Summary

/** @type {import("@rspack/core").Configuration} */
module.exports = {
	entry() {
		return Promise.resolve({
			a: "./a",
			b: ["./b"]
		});
	},
};

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@github-actions github-actions bot added the release: feature release: feature related release(mr only) label Apr 29, 2024
Copy link

netlify bot commented Apr 29, 2024

Deploy Preview for rspack ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 6133e0e
🔍 Latest deploy log https://app.netlify.com/sites/rspack/deploys/662f479132de340008d8beb6
😎 Deploy Preview https://deploy-preview-6393--rspack.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@SyMind SyMind marked this pull request as ready for review April 29, 2024 03:46
h-a-n-a
h-a-n-a previously approved these changes Apr 29, 2024
Copy link
Collaborator

@ahabhgk ahabhgk left a comment

Choose a reason for hiding this comment

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

Need update zod.ts and export DynamicEntryPlugin from exports.ts

@ahabhgk
Copy link
Collaborator

ahabhgk commented Apr 29, 2024

Also add docs for DynamicEntryPlugin

@SyMind SyMind merged commit f0e6c6b into web-infra-dev:main Apr 29, 2024
29 checks passed
@SyMind SyMind deleted the dynamic-entry branch April 29, 2024 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release: feature release: feature related release(mr only)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants