-
I have a module which depends on cal-heatmap. In this module, I'm importing cal-heatmap via esm
```js
import CalHeatmap from "cal-heatmap";
...
```
I'm bundling this module with webpack using t…
-
The use of CommonJS was initially intended for backend development back in the 2009/2010 when initially introduced, but when used on the frontend it prevents proper tree shaking within applications, a…
-
http://requirejs.org/docs/whyamd.html, some sample patterns here: https://github.com/umdjs/umd
-
For `@ignore`, [JSDoc says](http://usejsdoc.org/tags-ignore.html), “If you use the `@ignore` tag with the `@class` or `@module` tag, the entire class or module will be omitted from the documentation.”…
-
Create a CommonJS demo, likely using `browserify`.
-
...for use in Node/Browserify projects
-
Hi,
How you make it work with
```
// tsconfig.json
"module": "commonjs",
"target": "es6",
```
?
-
As discussed in #487 rewrite the sources to make it cleaner to use with Webpack.
-
``` js
var root = (typeof exports == 'undefined' ? window : exports);
...
root.devicePixelRatio
```
-
When trying to import this lib from a nodejs typescript project in `module: commonjs` mode it is unusable.
I Import via `import Decimal from 'break_eternity.js';`.
Any call to `new Decimal();` r…