Top "Es6-module-loader" questions

ES6 Module Loader Polyfill dynamically loads ES6 modules in browsers and NodeJS with support for loading existing and custom module formats through loader hooks.

How to correctly use ES6 "export default" with CommonJS "require"?

I've been working through Webpack tutorial. In one of the sections, it gives the code example that contains one line …

javascript ecmascript-6 webpack commonjs es6-module-loader
Exporting angularjs module as es6 module

You are supposed to wrap angularjs modules in an IIFE according to the styleguide, which we use https://github.com/…

javascript angularjs babeljs es6-module-loader
What is the defined execution order of ES6 imports?

I've tried searching the internet for the execution order of imported modules. For instance, let's say I have the following …

javascript ecmascript-6 es6-modules es6-module-loader
How to get a reference to a class function in ES6?

Sorry if question is too simple, but I'm missing something here. Just switched an ES5 module that looked like: module.…

javascript node.js ecmascript-6 es6-module-loader
How to import a module in es6 that itself needs to invoke/initialize its function/class before being imported

I was wondering what is the best practice to import a module's function/class in another module that the module …

javascript class module ecmascript-6 es6-module-loader
how to use SystemJS to bundle angular TypeScript with internal modules

We are considering moving some of our angular projects over to typescript and having some trouble with internal module/namespaces. …

angularjs typescript ecmascript-6 systemjs es6-module-loader
require working but import not working

I have a actions.js file that is exporting actions like this export var toggleTodo = (id) => { return { type: 'TOGGLE_…

es6-module-loader es6-class es6-modules
module specifier in es6 import and export

I'm confused about what the module specifier in these statements refer to: export {bar} from "foo"; import {bar} from "foo"; …

module ecmascript-6 es6-modules es6-module-loader
How to export default modules in index.js barrels

I'm trying to export default modules using index.js barrels but can't seem to get it to work. It works …

javascript es6-module-loader es6-modules
Awaiting on dynamic imports in JavaScript

While trying to port some of our JS code to use modules, I ran into this peculiar case which I …

javascript es6-modules es6-module-loader dynamic-import