-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: include
@rspack/react-refresh-plugin
with Re.Pack (#810)
* refactor: move react refresh plugin from peerDeps to deps in repack * refactor: dont include refresh plugin when using repack-init * chore: remove react refresh plugin from depdencies in testers * chore: remove duplicated react refresh plugin entry in repack * chore: add changeset
- Loading branch information
Showing
7 changed files
with
10 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
"@callstack/repack": minor | ||
"@callstack/repack-init": minor | ||
--- | ||
|
||
Include `@rspack/plugin-react-refresh` with Re.Pack instead of requiring user to install it |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,6 @@ import logger from '../utils/logger.js'; | |
|
||
const rspackDependencies = [ | ||
'@rspack/[email protected]', // 1.0.4 breaks sourcemaps | ||
'@rspack/plugin-react-refresh', | ||
'babel-loader', // still needed for codegen | ||
'@swc/helpers', | ||
'@callstack/repack', | ||
|
@@ -18,7 +17,6 @@ const webpackDependencies = [ | |
'webpack', | ||
'terser-webpack-plugin', | ||
'babel-loader', | ||
'@rspack/plugin-react-refresh', | ||
'@callstack/repack', | ||
]; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.