aboutsummaryrefslogtreecommitdiff
path: root/integration/snippets/cjs-transform-shouldnt-have-static-imports-in-cjs-function.js
blob: 370b1abecb2ce424f5cedb033df24aee35b44bb3 (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;