-
In addition to the amd option it would be great if there was a commonjs option, grunt-contrib-handlebars has this option and has an almost identical API to this.
This will allow the output to be 'req…
-
**Is your feature request related to a problem? Please describe.**
This could me imported as an module
**Describe the solution you'd like**
Add AMD / CommonJS / ES modules support
-
Dear All,
Due to an existing codebase maintenance (which cannot be migrated to ESM), is it possible to add CommonJS support?
-
Hi!
Until recently, I was using this shim to run Backfire with CommonJS support: https://github.com/cloud-walker/client-backfire
Unfortunately, the project has been deprecated. Any option to have Co…
-
It would be preferable if we could use npm to install third party dependencies instead of our custom methods. Using the guide I found [here](https://code.lengstorf.com/learn-rollup-js/), we could easi…
-
Would it be possible to wrap this using commonjs or the universal module definition (UMD) format, so it's easier to integrate into module systems such as CommonJS or AMD based ones?
-
After I implemented my modules, I also added assert.js and test.js, according to CommonJS/Unit Testing/1.0.
It provides a number of assert functions, such as assert(), assert.equal(), assert.deepEqual…
-
参考 [CommonJS规范](http://javascript.ruanyifeng.com/nodejs/module.html)
### 概述
- 所有代码都运行在模块作用域,不会污染全局作用域。
- 模块可以多次加载,但是只会在第一次加载时运行一次,然后运行结果就被缓存了,以后再加载,就直接读取缓存结果。要想让模块再次运行,必须清除缓存。
- 模块加载的顺序,按照其…
-
-
I had just made the change myself, and was forking the repo to create the PR, but then found the existing branch with commonJS support.
It seems to be pretty low-impact, code-wise--any chance of gett…
ghost updated
10 years ago