amaro 0.1.7 → 0.1.8
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/dist/index.js +8 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -489,7 +489,14 @@ module.exports = __toCommonJS(src_exports);
|
|
|
489
489
|
// src/transform.ts
|
|
490
490
|
var import_wasm = __toESM(require_wasm());
|
|
491
491
|
var DEFAULT_OPTIONS = {
|
|
492
|
-
mode: "strip-only"
|
|
492
|
+
mode: "strip-only",
|
|
493
|
+
// default transform will only work when mode is "transform"
|
|
494
|
+
transform: {
|
|
495
|
+
verbatimModuleSyntax: true,
|
|
496
|
+
nativeClassProperties: true,
|
|
497
|
+
noEmptyExport: true,
|
|
498
|
+
importNotUsedAsValues: "preserve"
|
|
499
|
+
}
|
|
493
500
|
};
|
|
494
501
|
function transformSync(source, options) {
|
|
495
502
|
const input = `${source ?? ""}`;
|