Skip to content
#

commonjs

Here are 337 public repositories matching this topic...

A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows for loading parts of the application on demand. Through "loaders", modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.

  • Updated May 16, 2022
  • JavaScript
MartinKolbAtWork
MartinKolbAtWork commented Feb 16, 2022

The commonjs plugin should transform only calls to a global function called “require”. Calls to functions containing the term ”require” (e.g. “myrequire”) and calling “require” on an object (e.g. “myObj.require”) must not be transformed.

Versions

  • originjs: 1.0.3

Reproduction

Unit tests that check this would be:

test('require function on object', () => {
  let code = `m
good first issue has pr

Improve this page

Add a description, image, and links to the commonjs topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the commonjs topic, visit your repo's landing page and select "manage topics."

Learn more