Learnlog

Learnlog

1126 bookmarks
Custom sorting
import() - JavaScript | MDN
import() - JavaScript | MDN
The module namespace object is a sealed object with null prototype. This means all string keys of the object correspond to the exports of the module and there are never extra keys. All keys are enumerable in lexicographic order (i.e. the default behavior of Array.prototype.sort()), with the default export available as a key called default. In addition, the module namespace object has a @@toStringTag property with the value "Module", used in Object.prototype.toString().
·developer.mozilla.org·
import() - JavaScript | MDN
How can I use ES6 in webpack.config.js?
How can I use ES6 in webpack.config.js?
The file gets parsed by node.js, which doesn't support es6 by default. There are command line flags to turn this on, but I don't know what they are.
·stackoverflow.com·
How can I use ES6 in webpack.config.js?