-
Soy currently compiles to JS globals, which is still a good "least common denominator" choice. Forward-looking projects are already using ES6 modules and transpiling it back to whatever format they li…
-
There are two papers on macros and modules that are probably relevant. [Composable and Compilable Macros](http://www.cs.utah.edu/plt/publications/macromod.pdf) and [Implicit Phasing for R6RS Libraries…
-
-
下面是我的理解:
调试 ES6 modules,现在的方案是先编译成 es5,加上 sourcemap 进行调试。
如果要直接调试,可以使用 babel-node,但是在调试上下文中变量有问题。
使用 nodejs 原生 es6 modules 调试理论上没有问题。
```
NODE_OPTIONS='--experimental-modules --loader ./custom-…
-
**IN** example:
```js
module.exports = require('./lib/index.js');
```
**OUT** actual:
```js
import _libIndexJs from "./lib/index.js";
var module = {
exports: {}
};
var exports = module.exp…
-
Use es6 module package map shim:
https://github.com/guybedford/es-module-shims
-
Lets start using ES6 modules by using rollup, to improve our JS.
-
This is a helpful resource: http://exploringjs.com/es6/ch_modules.html
-
related https://github.com/material-components/material-components-web/issues/4492#issuecomment-492226652
Feature request to generate ES6 modules from out TS files from within the /dist directory. …
-
**Please describe the feature/suggestion**
Currently, modules that use vanilla ES6 imports of a library do not work.
Example:
https://bundlephobia.com/result?p=deqaf
https://github.com/tomhodgin…