Skip to content Skip to sidebar Skip to footer
Showing posts with the label Commonjs

Are Asynchronous Modules Always Asynchronous?

When multiple JavaScript modules are define()'d using AMD and concatenated into a single file, … Read more Are Asynchronous Modules Always Asynchronous?

How Are Umd And Commonjs (cjs) Package Folders Different, And Which Should I Use?

I installed reactjs and react-dom like this with package.json 'dependencies': { … Read more How Are Umd And Commonjs (cjs) Package Folders Different, And Which Should I Use?

How To Use Umd In Browser Without Any Additional Dependencies

Suppose I have an UMD module like this (saved in 'js/mymodule.js'): (function (global, fact… Read more How To Use Umd In Browser Without Any Additional Dependencies

Load “vanilla” Javascript Libraries Into Node.js = 'unexpected Token Export'

Building on related issue: Load 'Vanilla' Javascript Libraries into Node.js I'm trying … Read more Load “vanilla” Javascript Libraries Into Node.js = 'unexpected Token Export'

Using Browserify With A Minified JavaScript Library

Can a minified JavaScript library be 'required' and bundled using Browserify? In other word… Read more Using Browserify With A Minified JavaScript Library