Skip to content

Commit

Permalink
chore: build wasm from swc v1.7.14
Browse files Browse the repository at this point in the history
  • Loading branch information
nodejs-github-bot authored and marco-ippolito committed Aug 19, 2024
1 parent d58408a commit 3a8ff0d
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"강동윤 <kdy1997.dev@gmail.com>"
],
"description": "wasm module for swc",
"version": "1.7.11",
"version": "1.7.14",
"license": "Apache-2.0",
"repository": {
"type": "git",
Expand Down
21 changes: 21 additions & 0 deletions lib/wasm.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,31 @@ interface Options {
}

interface TransformConfig {
/**
* @see https://www.typescriptlang.org/tsconfig#verbatimModuleSyntax
*/
verbatimModuleSyntax?: boolean;
/**
* Native class properties support
*/
nativeClassProperties?: boolean;
importNotUsedAsValues?: "remove" | "preserve";
/**
* Don't create `export {}`.
* By default, strip creates `export {}` for modules to preserve module
* context.
*
* @see https://github.com/swc-project/swc/issues/1698
*/
noEmptyExport?: boolean;
importExportAssignConfig?: "Classic" | "Preserve" | "NodeNext" | "EsNext";
/**
* Disables an optimization that inlines TS enum member values
* within the same module that assumes the enum member values
* are never modified.
*
* Defaults to false.
*/
tsEnumIsMutable?: boolean;
}

Expand Down
4 changes: 2 additions & 2 deletions lib/wasm.js

Large diffs are not rendered by default.

0 comments on commit 3a8ff0d

Please sign in to comment.