aboutsummaryrefslogtreecommitdiff
path: root/test/snippets/cjs-transform-shouldnt-have-static-imports-in-cjs-function.js
blob: 1ba6c059d89b6238ac7fe63dae9b397db31ea8b8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import _login from "./_login";
import _auth from "./_auth";
import * as _loginReally from "./_login";
import * as _loginReally2 from "./_login";
import * as _authReally from "./_auth";

// module.exports.iAmCommonJs = true;
// exports.YouAreCommonJS = true;
// require("./_login");
// require("./_login");
export { _login as login };

export function test() {
  return testDone(import.meta.url);
}

export let foo, bar;