forked from openlawteam/openlaw-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[bundling-edits] node, esm, umd build
- Loading branch information
Showing
12 changed files
with
1,645 additions
and
1,625 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
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/** | ||
* This file will be copied into `dist/esm` on build:esm. | ||
* It is so that consumer apps who are compatible with ES6 modules can: | ||
* 1. Easily pull the es module files in | ||
* 2. Tree-shake unneeded (dead) code (e.g. An app only wants to use the | ||
* `APIClient` b/c `Openlaw` is already on their server) | ||
*/ | ||
|
||
import {Openlaw} from './openlaw.js'; | ||
import APIClient from './APIClient'; | ||
|
||
export {Openlaw, APIClient}; |
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,7 +1,8 @@ | ||
import APIClient from './APIClient'; | ||
/** | ||
* Webpack entry-point for UMD build | ||
*/ | ||
|
||
import {Openlaw} from '../../target/scala-2.12/client.js'; | ||
import APIClient from './APIClient'; | ||
|
||
export { | ||
APIClient, | ||
Openlaw as default, | ||
}; | ||
export {Openlaw, APIClient}; |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.