-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: use swc pack instead of ncc (#140)
* refactor: implement swc instead of ncc * chore: tweak the swc implementation with externals * chore: remove ncc from the project * fix: update the entrypoint in the main action file * chore: fix linting issues * chore: add swc folder to ignore list * chore: update gitignore list * fix: force-remove sourcemaps from the build Unfortunately, it seems that we cant disable this in swc pack
- Loading branch information
Showing
22 changed files
with
617 additions
and
572 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,51 @@ | ||
# SWC | ||
.swc/ | ||
|
||
# macOS | ||
.DS_Store | ||
|
||
# Node | ||
node_modules | ||
.idea | ||
npm-debug.log | ||
yarn-error.log | ||
package-lock.json | ||
|
||
# Ruby | ||
.direnv | ||
|
||
# Emacs | ||
*~ | ||
|
||
# Vim | ||
.*.swp | ||
.*.swo | ||
.*.swn | ||
.*.swm | ||
|
||
# Sublime Text | ||
*.sublime-project | ||
*.sublime-workspace | ||
|
||
# Xcode | ||
*.pbxuser | ||
!default.pbxuser | ||
*.xccheckout | ||
*.xcscmblueprint | ||
xcuserdata | ||
|
||
# Android Studio | ||
*.iml | ||
.gradle | ||
.idea/libraries | ||
.idea/workspace.xml | ||
.idea/gradle.xml | ||
.idea/misc.xml | ||
.idea/modules.xml | ||
.idea/vcs.xml | ||
|
||
# Eclipse | ||
.project | ||
.settings | ||
|
||
# VSCode | ||
.history/ |
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,11 @@ | ||
{ | ||
"jsc": { | ||
"target": "es2020", | ||
"parser": { | ||
"syntax": "typescript" | ||
} | ||
}, | ||
"module": { | ||
"type": "commonjs" | ||
} | ||
} |
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.