swc/tests/fixture/issue-1938/esm/input/index.js
OJ Kwon de24ff275d
fix(es/transforms/module): Allow namespace import with default import (#1940)
swc_ecma_transforms_module:
 - Allow using a namespace import specifier with a default import specifier. (#1938)
2021-07-20 18:00:27 +09:00

4 lines
81 B
JavaScript

import foo, * as action from './actions';
console.log(action);
console.log(foo);