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(core)!: change dojang default escape|unescape to lodash.template syntax #7661

Merged
merged 13 commits into from
Aug 23, 2024

Conversation

hardfist
Copy link
Contributor

@hardfist hardfist commented Aug 22, 2024

Summary

BREAKING CHANGE:
Rspack's default template syntax is same as ejs and webpack's default template syntax is lodash.template, while rsbuild's default template syntax is same as lodash.template too.
This PR change Rspack's default template syntax about escape | unescape to lodash.template which is consistent with webpack | Rsbuild.

Checklist

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

@github-actions github-actions bot added release: feature release: feature related release(mr only) team The issue/pr is created by the member of Rspack. labels Aug 22, 2024
Copy link

netlify bot commented Aug 22, 2024

Deploy Preview for rspack ready!

Name Link
🔨 Latest commit b5f6891
🔍 Latest deploy log https://app.netlify.com/sites/rspack/deploys/66c7fa857841760008c71b84
😎 Deploy Preview https://deploy-preview-7661--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.

@hardfist hardfist changed the title feat(core): change dojang default escape|unescape to lodash.template syntax feat!(core): change dojang default escape|unescape to lodash.template syntax Aug 22, 2024
@hardfist hardfist added the release: breaking change release: breaking change related release(mr only) label Aug 22, 2024
@hardfist hardfist changed the title feat!(core): change dojang default escape|unescape to lodash.template syntax feat(core)!: change dojang default escape|unescape to lodash.template syntax Aug 22, 2024
website/docs/zh/plugins/rspack/html-rspack-plugin.mdx Outdated Show resolved Hide resolved
website/docs/zh/plugins/rspack/html-rspack-plugin.mdx Outdated Show resolved Hide resolved
website/docs/zh/plugins/rspack/html-rspack-plugin.mdx Outdated Show resolved Hide resolved
website/docs/zh/plugins/rspack/html-rspack-plugin.mdx Outdated Show resolved Hide resolved
website/docs/en/plugins/rspack/html-rspack-plugin.mdx Outdated Show resolved Hide resolved
website/docs/en/plugins/rspack/html-rspack-plugin.mdx Outdated Show resolved Hide resolved
website/docs/en/plugins/rspack/html-rspack-plugin.mdx Outdated Show resolved Hide resolved
website/docs/en/plugins/rspack/html-rspack-plugin.mdx Outdated Show resolved Hide resolved
website/docs/en/plugins/rspack/html-rspack-plugin.mdx Outdated Show resolved Hide resolved
hardfist and others added 10 commits August 23, 2024 10:22
Co-authored-by: neverland <chenjiahan.jait@bytedance.com>
Co-authored-by: neverland <chenjiahan.jait@bytedance.com>
Co-authored-by: neverland <chenjiahan.jait@bytedance.com>
Co-authored-by: neverland <chenjiahan.jait@bytedance.com>
Co-authored-by: neverland <chenjiahan.jait@bytedance.com>
Co-authored-by: neverland <chenjiahan.jait@bytedance.com>
Co-authored-by: neverland <chenjiahan.jait@bytedance.com>
Co-authored-by: neverland <chenjiahan.jait@bytedance.com>
Co-authored-by: neverland <chenjiahan.jait@bytedance.com>
chenjiahan
chenjiahan previously approved these changes Aug 23, 2024
@chenjiahan chenjiahan enabled auto-merge (squash) August 23, 2024 02:38
LingyuCoder
LingyuCoder previously approved these changes Aug 23, 2024
@chenjiahan chenjiahan dismissed stale reviews from LingyuCoder and themself via b5f6891 August 23, 2024 02:57
@chenjiahan chenjiahan merged commit 5c49a3f into main Aug 23, 2024
28 checks passed
@chenjiahan chenjiahan deleted the fix-lodash-template branch August 23, 2024 03:03
@chenjiahan chenjiahan mentioned this pull request Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release: breaking change release: breaking change related release(mr only) release: feature release: feature related release(mr only) team The issue/pr is created by the member of Rspack.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants