@swc/core
Advanced tools
Comparing version 1.0.25 to 1.0.26
@@ -275,2 +275,5 @@ | ||
readonly react?: ReactConfig, | ||
readonly constModules?: ConstModulesConfig; | ||
/** | ||
@@ -318,2 +321,15 @@ * Defaults to null, which skips optimizer pass. | ||
} | ||
/** | ||
* - `import { DEBUG } from '@ember/env-flags';` | ||
* - `import { FEATURE_A, FEATURE_B } from '@ember/features';` | ||
* | ||
* See: https://github.com/swc-project/swc/issues/18#issuecomment-466272558 | ||
*/ | ||
export interface ConstModulesConfig { | ||
readonly globals?: { | ||
readonly [module: string]: { | ||
readonly [name: string]: string | ||
} | ||
}; | ||
} | ||
@@ -320,0 +336,0 @@ export interface OptimizerConfig { |
{ | ||
"name": "@swc/core", | ||
"version": "1.0.25", | ||
"version": "1.0.26", | ||
"description": "Super-fast alternative for babel", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
137306
1417