-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🦀 SWC Integration #179
Merged
Merged
🦀 SWC Integration #179
Changes from 5 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
e74c84b
🦀adding swc
tchowd 6fd7241
Revert "🦀adding swc"
tchowd 9c3b994
🦀 Adding SWC
tchowd 8da4ae5
✨ Updating SWC for CJS build
tchowd 7d88614
✨ Updating SWC - Reverting Type Declaration
tchowd b58a70f
✨ SWC clean up and adding removed tests
tchowd 3c77f28
🎖GitPOAP integration
tchowd fe868f0
✨ Update swc - package installation
tchowd 52ac941
✨ Updating packages and passing all tests
tchowd bb5501b
✨Updating GitPoap docusaurus
tchowd 5c8ca32
✅ Update for tests - passing
tchowd File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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,22 @@ | ||
{ | ||
"$schema": "https://json.schemastore.org/swcrc", | ||
"module": { | ||
"type": "commonjs", | ||
"strict": false, | ||
"strictMode": true, | ||
"lazy": false, | ||
"noInterop": false | ||
}, | ||
"jsc": { | ||
"parser": { | ||
"syntax": "typescript", | ||
"tsx": false, | ||
"dynamicImport": false, | ||
"decorators": false | ||
}, | ||
"target": "es5", | ||
"loose": false, | ||
"externalHelpers": false | ||
}, | ||
"minify": false | ||
} |
Large diffs are not rendered by default.
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{ | ||
"ts-node": { | ||
"swc": true, | ||
"compilerOptions": { | ||
"module": "commonjs" | ||
} | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've never needed a
.swcrc
before, what happened without this? Some of these settings look like duplicates of thetsconfig
, where-in my normal method of usingswc
inherits the tsconfig with no extra filesThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't previously test without a
.swcrc
as I assumed it was needed for specifying the configs. It was repeative information and didn't have an effect on the usingswc
.Main goal was to experiment with
.swcrc
and modules to specify commonjs/ems/umd - but realized that it was repetitive and not working