how to import whole file in javascript code example Example: alias import javascript import {default as alias} from 'my-module';