ladybird/Userland/Libraries/LibJS/Tests/modules/exporting-nothing-from-failing.mjs
davidot 3b1c3e574f LibJS: Handle empty named export
This is an export which looks like `export {} from "module"`, and
although it doesn't have any real export entries it should still add
"module" to the required modules to load.
2022-09-02 02:07:37 +01:00

4 lines
110 B
JavaScript

export {} from "./failing.mjs";
export {};
// This should not be a duplicate!
export {} from "./failing.mjs";