-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(kadena-cli): add bundler (#2120)
* feat(kadena-cli): add bundler * feat(kadena-cli): remove type definitions and definitions source map as part of bundle * fix(kadena-cli): mock navigator once instead of in the rollup config * fix(kadena-cli): remove undeeded dependency --------- Co-authored-by: Bart Huijgen <barthuijgen@users.noreply.github.com> Co-authored-by: Mohamed Ismail <ismailreality1@gmail.com>
- Loading branch information
1 parent
1d96ab1
commit d79818e
Showing
6 changed files
with
440 additions
and
103 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import commonjs from '@rollup/plugin-commonjs'; | ||
import json from '@rollup/plugin-json'; | ||
import resolve from '@rollup/plugin-node-resolve'; | ||
import typescript from '@rollup/plugin-typescript'; | ||
|
||
export default { | ||
input: 'src/index.ts', | ||
output: { | ||
dir: './lib', | ||
format: 'es', | ||
}, | ||
plugins: [ | ||
resolve(), | ||
commonjs(), | ||
typescript({ | ||
declaration: false, | ||
declarationMap: false, | ||
}), | ||
json(), | ||
], | ||
}; |
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
Oops, something went wrong.