-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* refactor: gulp packaging process update * chore: add esm folder to git ignore * chore: babel plugin format correction * build: adjust typescript config to support both module * build: add script to support esm and lib * fix: babel plugin code execution order
- Loading branch information
1 parent
cd8f775
commit 7c845d5
Showing
8 changed files
with
139 additions
and
63 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 |
---|---|---|
@@ -1,6 +1,7 @@ | ||
node_modules | ||
storybook-static | ||
lib | ||
esm | ||
dist | ||
.temporary_files | ||
coverage | ||
|
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 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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"compilerOptions": { | ||
"outDir": "./esm/", | ||
"module": "esnext", | ||
"target": "es6", | ||
"declaration": true, | ||
"jsx": "react", | ||
"moduleResolution": "Node", | ||
"keyofStringsOnly": true, | ||
"allowSyntheticDefaultImports": true, | ||
"experimentalDecorators": true | ||
}, | ||
"include": [ | ||
"src/components" | ||
], | ||
"exclude": [ | ||
"node_modules", | ||
"build", | ||
"scripts", | ||
"**/__tests__/*.test.tsx", | ||
] | ||
} |
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,22 @@ | ||
{ | ||
"compilerOptions": { | ||
"outDir": "./lib/", | ||
"module": "commonjs", | ||
"target": "es5", | ||
"declaration": true, | ||
"jsx": "react", | ||
"moduleResolution": "Node", | ||
"keyofStringsOnly": true, | ||
"allowSyntheticDefaultImports": true, | ||
"experimentalDecorators": true | ||
}, | ||
"include": [ | ||
"src/components" | ||
], | ||
"exclude": [ | ||
"node_modules", | ||
"build", | ||
"scripts", | ||
"**/__tests__/*.test.tsx", | ||
] | ||
} |