aboutsummaryrefslogtreecommitdiff
path: root/test/fixtures/source-map/babel-esm-original.mjs
blob: 70ae479452a97046507758fdd262245ba9980c09 (plain)
1
2
3
4
5
6
7
8
9
import {foo} from './esm-dep.mjs';

const obj = {
  a: {
    b: 22
  }
};

if (obj?.a?.b === 22) throw Error('an exception');