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: config validate strategy #2137

Merged
merged 3 commits into from
Mar 10, 2023
Merged

feat: config validate strategy #2137

merged 3 commits into from
Mar 10, 2023

Conversation

ahabhgk
Copy link
Collaborator

@ahabhgk ahabhgk commented Mar 10, 2023

Summary

For more smoother migration from webpack

rspack serve # same as strict, strict is default strategy and encouraged
RSPACK_CONFIG_VALIDATE=strict rspack serve # throw error and tell where is invalidate

RSPACK_CONFIG_VALIDATE=loose rspack serve # report invalidate config but not throw error
RSPACK_CONFIG_VALIDATE=loose-silent rspack serve # not report and not throw error

Related issue (if exists)

Types of changes

  • Docs change / Dependency upgrade
  • Bug fix
  • New feature / Improvement
  • Refactoring
  • Breaking change

Checklist

  • I have added changeset via pnpm run changeset.
  • I have added tests to cover my changes.

@changeset-bot
Copy link

changeset-bot bot commented Mar 10, 2023

🦋 Changeset detected

Latest commit: 433c957

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

This PR includes changesets to release 16 packages
Name Type
@rspack/core Patch
@rspack/cli Patch
@rspack/dev-middleware Patch
@rspack/dev-server Patch
@rspack/plugin-html Patch
benchmarkcase-rspack-react-refresh Patch
@rspack/postcss-loader Patch
@rspack/dev-client Patch
@rspack/plugin-minify Patch
@rspack/plugin-node-polyfill Patch
@rspack/binding-darwin-arm64 Patch
@rspack/binding-darwin-x64 Patch
@rspack/binding-linux-x64-gnu Patch
@rspack/binding-win32-x64-msvc Patch
@rspack/binding Patch
@rspack/fs 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

@ahabhgk ahabhgk merged commit 62fca58 into main Mar 10, 2023
@ahabhgk ahabhgk deleted the validate-strategy branch March 10, 2023 16:15
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.

None yet

5 participants