-
-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5e19bc1
commit 16f74d7
Showing
11 changed files
with
156 additions
and
43 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,5 +1,44 @@ | ||
# webpack-config-single-spa-react-ts | ||
|
||
## 5.0.0 | ||
|
||
### Major Changes | ||
|
||
- [#412](https://github.com/single-spa/create-single-spa/pull/412) [`f9edeef`](https://github.com/single-spa/create-single-spa/commit/f9edeef57e5230df78efe7deaea2dec159db89a3) Thanks [@joeldenning](https://github.com/joeldenning)! - Output to native ES modules by default. Add new outputSystemJS option. | ||
|
||
#### Upgrading | ||
|
||
To upgrade without switching to native ES modules, add the `outputSystemJS` option to your webpack.config.js: | ||
|
||
```js | ||
const { merge } = require("webpack-merge"); | ||
const singleSpaDefaults = require("webpack-config-single-spa-react-ts"); | ||
|
||
module.exports = (webpackConfigEnv, argv) => { | ||
const defaultConfig = singleSpaDefaults({ | ||
orgName: "org", | ||
projectName: "project", | ||
webpackConfigEnv, | ||
argv, | ||
|
||
// This is the new option that preserves backwards compatibility | ||
outputSystemJS: true, | ||
}); | ||
|
||
return merge(defaultConfig, { | ||
// modify the webpack config however you'd like to by adding to this object | ||
}); | ||
}; | ||
``` | ||
|
||
The single-spa core team plans to release a full SystemJS -> ESM migration guide on single-spa.js.org. | ||
|
||
### Patch Changes | ||
|
||
- Updated dependencies [[`f9edeef`](https://github.com/single-spa/create-single-spa/commit/f9edeef57e5230df78efe7deaea2dec159db89a3)]: | ||
- [email protected] | ||
- [email protected] | ||
|
||
## 4.0.5 | ||
|
||
### Patch Changes | ||
|
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 |
---|---|---|
@@ -1,5 +1,43 @@ | ||
# webpack-config-single-spa-react | ||
|
||
## 5.0.0 | ||
|
||
### Major Changes | ||
|
||
- [#412](https://github.com/single-spa/create-single-spa/pull/412) [`f9edeef`](https://github.com/single-spa/create-single-spa/commit/f9edeef57e5230df78efe7deaea2dec159db89a3) Thanks [@joeldenning](https://github.com/joeldenning)! - Output to native ES modules by default. Add new outputSystemJS option. | ||
|
||
## Upgrading | ||
|
||
To upgrade without switching to native ES modules, add the `outputSystemJS` option to your webpack.config.js: | ||
|
||
```js | ||
const { merge } = require("webpack-merge"); | ||
const singleSpaDefaults = require("webpack-config-single-spa-react"); | ||
|
||
module.exports = (webpackConfigEnv, argv) => { | ||
const defaultConfig = singleSpaDefaults({ | ||
orgName: "org", | ||
projectName: "project", | ||
webpackConfigEnv, | ||
argv, | ||
|
||
// This is the new option that preserves backwards compatibility | ||
outputSystemJS: true, | ||
}); | ||
|
||
return merge(defaultConfig, { | ||
// modify the webpack config however you'd like to by adding to this object | ||
}); | ||
}; | ||
``` | ||
|
||
The single-spa core team plans to release a full SystemJS -> ESM migration guide on single-spa.js.org. | ||
|
||
### Patch Changes | ||
|
||
- Updated dependencies [[`f9edeef`](https://github.com/single-spa/create-single-spa/commit/f9edeef57e5230df78efe7deaea2dec159db89a3), [`5e19bc1`](https://github.com/single-spa/create-single-spa/commit/5e19bc1b9dd069de995b249e99d19a241b7c8f8c)]: | ||
- [email protected] | ||
|
||
## 4.0.5 | ||
|
||
### Patch Changes | ||
|
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 |
---|---|---|
@@ -1,5 +1,43 @@ | ||
# webpack-config-single-spa-ts | ||
|
||
## 5.0.0 | ||
|
||
### Major Changes | ||
|
||
- [#412](https://github.com/single-spa/create-single-spa/pull/412) [`f9edeef`](https://github.com/single-spa/create-single-spa/commit/f9edeef57e5230df78efe7deaea2dec159db89a3) Thanks [@joeldenning](https://github.com/joeldenning)! - Output to native ES modules by default. Add new outputSystemJS option. | ||
|
||
#### Upgrading | ||
|
||
To upgrade without switching to native ES modules, add the `outputSystemJS` option to your webpack.config.js: | ||
|
||
```js | ||
const { merge } = require("webpack-merge"); | ||
const singleSpaDefaults = require("webpack-config-single-spa-ts"); | ||
|
||
module.exports = (webpackConfigEnv, argv) => { | ||
const defaultConfig = singleSpaDefaults({ | ||
orgName: "org", | ||
projectName: "project", | ||
webpackConfigEnv, | ||
argv, | ||
|
||
// This is the new option that preserves backwards compatibility | ||
outputSystemJS: true, | ||
}); | ||
|
||
return merge(defaultConfig, { | ||
// modify the webpack config however you'd like to by adding to this object | ||
}); | ||
}; | ||
``` | ||
|
||
The single-spa core team plans to release a full SystemJS -> ESM migration guide on single-spa.js.org. | ||
|
||
### Patch Changes | ||
|
||
- Updated dependencies [[`f9edeef`](https://github.com/single-spa/create-single-spa/commit/f9edeef57e5230df78efe7deaea2dec159db89a3), [`5e19bc1`](https://github.com/single-spa/create-single-spa/commit/5e19bc1b9dd069de995b249e99d19a241b7c8f8c)]: | ||
- [email protected] | ||
|
||
## 4.1.4 | ||
|
||
### Patch Changes | ||
|
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "webpack-config-single-spa", | ||
"version": "5.3.1", | ||
"version": "6.0.0", | ||
"description": "A webpack config for in-browser modules used with single-spa", | ||
"author": "Joel Denning <[email protected]>", | ||
"homepage": "https://github.com/single-spa/create-single-spa", | ||
|