Skip to content

Commit fa1a245

Browse files
committed
fix: missing React in compile HTML report
1 parent 63d3a4f commit fa1a245

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

README.md

+7-3
Original file line numberDiff line numberDiff line change
@@ -112,13 +112,17 @@ inside the HTML file, and write the result as a new HTML page at the specified l
112112

113113
## Changelog
114114

115-
### v0.1.2
115+
### v0.1.3
116116

117-
- Fixed incorrect packaging from v0.1.1
117+
- Fixed incorrect packaging from v0.1.1 and v0.1.2
118+
119+
### v0.1.2 (Broken)
120+
121+
This version got deployed with a part missing, please use version v0.1.3 instead
118122

119123
### v0.1.1 (Broken)
120124

121-
This version got deployed without an important part, please use version v0.1.2 instead
125+
This version got deployed with a part missing, please use version v0.1.3 instead
122126

123127
- Added python stubs to be compliant with [PEP 561](https://peps.python.org/pep-0561/)
124128
- Added CI release process

javascript/data-diff-viewer/config/webpack.config.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ module.exports = function (webpackEnv) {
399399
include: paths.appSrc,
400400
loader: "babel-loader",
401401
options: {
402-
presets: [["@babel/preset-react"]],
402+
presets: [["@babel/preset-react", {"runtime": "automatic"}]],
403403
plugins: [
404404
isEnvDevelopment &&
405405
shouldUseReactRefresh &&
@@ -424,7 +424,7 @@ module.exports = function (webpackEnv) {
424424
babelrc: false,
425425
configFile: false,
426426
compact: false,
427-
presets: [["@babel/preset-react"]],
427+
presets: [["@babel/preset-react", {"runtime": "automatic"}]],
428428
cacheDirectory: true,
429429
// See #6846 for context on why cacheCompression is disabled
430430
cacheCompression: false,

0 commit comments

Comments
 (0)