@swc/core
Advanced tools
Comparing version 1.0.30 to 1.0.31
@@ -12,2 +12,11 @@ | ||
it('should handle sourceMaps = false', () => { | ||
const src = '/* Comment */import foo, {bar} from "foo"'; | ||
const out = swc.transformSync(src, { | ||
sourceMaps: false, | ||
}); | ||
expect(out.map).toBeFalsy(); | ||
}); | ||
it('should handle exportNamespaceFrom', () => { | ||
@@ -14,0 +23,0 @@ const src = "export * as Foo from 'bar';"; |
@@ -128,3 +128,3 @@ | ||
/** | ||
* Defaults to searching for a default swc.config.js file, but can | ||
* Defaults to searching for a default `.swcrc` file, but can | ||
* be passed the path of any JS or JSON5 config file. | ||
@@ -141,3 +141,3 @@ * | ||
* | ||
* Defaults to `path.resolve(opts.root, "swc.config.js")` | ||
* Defaults to `path.resolve(opts.root, ".swcrc")` | ||
*/ | ||
@@ -144,0 +144,0 @@ readonly configFile?: string | boolean; |
{ | ||
"name": "@swc/core", | ||
"version": "1.0.30", | ||
"version": "1.0.31", | ||
"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
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
190363
2693