diff options
Diffstat (limited to 'test/compress/exports.js')
-rw-r--r-- | test/compress/exports.js | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/test/compress/exports.js b/test/compress/exports.js index a7239148..3aaae4ae 100644 --- a/test/compress/exports.js +++ b/test/compress/exports.js @@ -203,7 +203,23 @@ mangle_rename: { } } -hoist_exports: { +hoist_exports_1: { + options = { + hoist_exports: true, + } + input: { + export { a }; + export var b; + export function f() {} + } + expect: { + var b; + function f() {} + export { a, b, f }; + } +} + +hoist_exports_2: { options = { evaluate: true, hoist_exports: true, |