-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dependency react to v16.13.0 (#3)
* Update dependency react to v16.13.0 * Fixing build * Update README.md Co-authored-by: WhiteSource Renovate <[email protected]> Co-authored-by: Joel Denning <[email protected]>
- Loading branch information
1 parent
4cbe731
commit 72a91a0
Showing
6 changed files
with
44 additions
and
29 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,16 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "Launch Program", | ||
"skipFiles": ["<node_internals>/**"], | ||
"runtimeExecutable": "npm", | ||
"runtimeArgs": ["run-script", "build"] | ||
} | ||
] | ||
} |
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,17 +1,25 @@ | ||
describe("@esm-bundle/react", () => { | ||
it("can load the ESM development bundle", () => { | ||
return import("/base/esm/react.development.js"); | ||
it("can load the ESM development bundle", async () => { | ||
const React = await import("/base/esm/react.development.js"); | ||
React.default.createElement("button"); | ||
React.createElement("button"); | ||
}); | ||
|
||
it("can load the ESM production bundle", () => { | ||
return import("/base/esm/react.production.min.js"); | ||
it("can load the ESM production bundle", async () => { | ||
const React = await import("/base/esm/react.development.js"); | ||
React.default.createElement("button"); | ||
React.createElement("button"); | ||
}); | ||
|
||
it("can load the System.register development bundle", () => { | ||
return System.import("/base/system/react.development.js"); | ||
it("can load the System.register development bundle", async () => { | ||
const React = await System.import("/base/system/react.development.js"); | ||
React.default.createElement("button"); | ||
React.createElement("button"); | ||
}); | ||
|
||
it("can load the System.register production bundle", () => { | ||
return System.import("/base/system/react.production.min.js"); | ||
it("can load the System.register production bundle", async () => { | ||
const React = await System.import("/base/system/react.development.js"); | ||
React.default.createElement("div"); | ||
React.createElement("div"); | ||
}); | ||
}); |
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