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

Examples build fixes #6102

Merged
merged 10 commits into from
Mar 5, 2024
Merged

Examples build fixes #6102

merged 10 commits into from
Mar 5, 2024

Conversation

kpal81xd
Copy link
Contributor

Refers to bugs in #6030

  • Moved prebuild step to inside rollup
  • Fixed bug with production build using bundled modules

I confirm I have read the contributing guidelines and signed the Contributor License Agreement.

@kpal81xd kpal81xd changed the title added prebuild to occur during rollup process; fixed prod build to us… Examples build fixes Feb 29, 2024
@kpal81xd kpal81xd requested review from a team and kungfooman February 29, 2024 14:13
@kpal81xd kpal81xd self-assigned this Feb 29, 2024
examples/rollup.config.js Outdated Show resolved Hide resolved
examples/utils.mjs Outdated Show resolved Hide resolved
Co-authored-by: Will Eastcott <[email protected]>
@kpal81xd kpal81xd merged commit 8202ad8 into main Mar 5, 2024
7 checks passed
@kpal81xd kpal81xd deleted the examples-build-fixes branch March 5, 2024 11:18
@@ -0,0 +1,21 @@
const regexPatterns = [
/^\s*export\s*\*\s*from\s*.+\s*;\s*$/gm,
Copy link
Member

Choose a reason for hiding this comment

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

Do we need to worry about dynamic imports? Also should we allow statements without semi-colons? I guess we enforce this on the linting level?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants