@swc/core 1.2.141 → 1.2.144
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5103 -0
- package/package.json +15 -15
- package/types.d.ts +14 -0
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc/core",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.144",
|
|
4
4
|
"description": "Super-fast alternative for babel",
|
|
5
5
|
"homepage": "https://swc.rs",
|
|
6
6
|
"main": "./index.js",
|
|
7
7
|
"author": "강동윤 <kdy1997.dev@gmail.com>",
|
|
8
|
-
"license": "Apache-2.0
|
|
8
|
+
"license": "Apache-2.0",
|
|
9
9
|
"keywords": [
|
|
10
10
|
"swc",
|
|
11
11
|
"swcpack",
|
|
@@ -104,18 +104,18 @@
|
|
|
104
104
|
"url": "https://opencollective.com/swc"
|
|
105
105
|
},
|
|
106
106
|
"optionalDependencies": {
|
|
107
|
-
"@swc/core-win32-x64-msvc": "1.2.
|
|
108
|
-
"@swc/core-darwin-x64": "1.2.
|
|
109
|
-
"@swc/core-linux-x64-gnu": "1.2.
|
|
110
|
-
"@swc/core-linux-x64-musl": "1.2.
|
|
111
|
-
"@swc/core-freebsd-x64": "1.2.
|
|
112
|
-
"@swc/core-win32-ia32-msvc": "1.2.
|
|
113
|
-
"@swc/core-linux-arm64-gnu": "1.2.
|
|
114
|
-
"@swc/core-linux-arm-gnueabihf": "1.2.
|
|
115
|
-
"@swc/core-darwin-arm64": "1.2.
|
|
116
|
-
"@swc/core-android-arm64": "1.2.
|
|
117
|
-
"@swc/core-linux-arm64-musl": "1.2.
|
|
118
|
-
"@swc/core-win32-arm64-msvc": "1.2.
|
|
119
|
-
"@swc/core-android-arm-eabi": "1.2.
|
|
107
|
+
"@swc/core-win32-x64-msvc": "1.2.144",
|
|
108
|
+
"@swc/core-darwin-x64": "1.2.144",
|
|
109
|
+
"@swc/core-linux-x64-gnu": "1.2.144",
|
|
110
|
+
"@swc/core-linux-x64-musl": "1.2.144",
|
|
111
|
+
"@swc/core-freebsd-x64": "1.2.144",
|
|
112
|
+
"@swc/core-win32-ia32-msvc": "1.2.144",
|
|
113
|
+
"@swc/core-linux-arm64-gnu": "1.2.144",
|
|
114
|
+
"@swc/core-linux-arm-gnueabihf": "1.2.144",
|
|
115
|
+
"@swc/core-darwin-arm64": "1.2.144",
|
|
116
|
+
"@swc/core-android-arm64": "1.2.144",
|
|
117
|
+
"@swc/core-linux-arm64-musl": "1.2.144",
|
|
118
|
+
"@swc/core-win32-arm64-msvc": "1.2.144",
|
|
119
|
+
"@swc/core-android-arm-eabi": "1.2.144"
|
|
120
120
|
}
|
|
121
121
|
}
|
package/types.d.ts
CHANGED
|
@@ -328,6 +328,20 @@ export interface JscConfig {
|
|
|
328
328
|
experimental?: {
|
|
329
329
|
optimizeHygiene?: boolean;
|
|
330
330
|
keepImportAssertions?: boolean;
|
|
331
|
+
/**
|
|
332
|
+
* Specify the location where SWC stores its intermidiate cache files.
|
|
333
|
+
* Currently only transform plugin uses this. If not specified, SWC will
|
|
334
|
+
* create `.swc` directories.
|
|
335
|
+
*/
|
|
336
|
+
cacheRoot?: string;
|
|
337
|
+
/**
|
|
338
|
+
* List of custom transform plugins written in WebAssembly.
|
|
339
|
+
* First parameter of tuple indicates the name of the plugin - it can be either
|
|
340
|
+
* a name of the npm package can be resolved, or absolute path to .wasm binary.
|
|
341
|
+
*
|
|
342
|
+
* Second parameter of tuple is JSON based configuration for the plugin.
|
|
343
|
+
*/
|
|
344
|
+
plugins?: Array<[string, Record<string, any>]>;
|
|
331
345
|
};
|
|
332
346
|
baseUrl?: string;
|
|
333
347
|
paths?: {
|