Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in commonjs

How to import JavaScript files in NodeJS using file paths from project root? (instead of relative file paths)

How to convert postcss.config.js and tailwind.config.js to ES modules?

Building with parcel for the browser - how to not output CommonJS or ES Modules

How to avoid code duplication using Browserify

Why does import of an ESM module in a CommonJS TypeScript project, result in ERR_REQUIRE_ESM?

Is there any performance difference in ES modules vs Common JS modules in NodeJS servers?

Why can't I require a constructor and immediately use it with browserify?

How to bundle a commonjs in vite?

TypeScript package with multiple entry points

Failed to resolve entry for package "notistack5". The package may have incorrect main/module/exports specified in its package.json

Issue with parsing JSON flat file in PhantomJS (NO jquery, raw javascript please)

Moment.js and the rollup module bundler

momentjs commonjs rollupjs

Transition to TypeScript while maintaining CommonJS format

typescript commonjs

TypeScript: How to replace imports with window objects?

Using ES Module packages in Azure Typescript Function

Is it possible to compile to commonjs from es6 with webpack

Error [ERR_REQUIRE_ESM]: require() of ES Module index.js not supported

Sveltekit: Importing ESM package produces errors that works with vite

ts2339: property 'should' does not exist on type Bluebird<boolean>

Rollupjs doesn't bundle all files