import module in a file using es6 code example
Example 1: alias import javascript
import {default as alias} from 'my-module';
Example 2: es6 module syntax
es6 module syntax
import {default as alias} from 'my-module';
es6 module syntax