Search code examples
TypeScript package with multiple entry points...


typescriptnode-moduleses6-modulescommonjs

Read More
What is module option in tsconfig used for?...


javascripttypescriptcompilationcommonjstsconfig

Read More
Difference between "module.exports" and "exports" in the CommonJs Module System...


javascriptnode.jscommonjs

Read More
Configure Rollup to add file extensions into import/require statements...


node.jstypescriptes6-modulescommonjsrollupjs

Read More
Dynamically load ESM module in CJS package in TypeScript...


typescriptimportes6-modulescommonjsdynamic-import

Read More
"name" is not exported by "module" even when using @rollup/plugin-commonjs in vi...


viterollupcommonjs

Read More
Jest tests are failing because of an unknown unexpected token "export"...


testingjestjsreact-testing-libraryes6-modulescommonjs

Read More
Use Typescript with Google Apps Script...


typescriptgoogle-apps-scriptcommonjsclasp

Read More
How do I disable: [js] File is a CommonJS module; it may be converted to an ES6 module...


javascriptnode.jstypescriptvisual-studio-codecommonjs

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


node.jstypescriptcommonjsdynamic-importesmodules

Read More
Can we import from CommonJS modules in Node now using ESM import syntax?...


javascriptnode.jses6-modulescommonjs

Read More
Remix (Vite) unable to import from @apollo/client into .tsx files issue...


viteapollocommonjsremix.run

Read More
Converting many typescript files into 1 js file while also using commonJS modules...


reactjstypescriptoutputcommonjs

Read More
Is it possible to stub an exported function in a CommonJS module using sinon?...


javascriptnode.jsmockingsinoncommonjs

Read More
SyntaxError: Unexpected token 'export' in Jest...


typescriptjestjsts-jestcommonjsesmodules

Read More
typescript node.js express routes separated files best practices...


node.jsexpressmoduletypescriptcommonjs

Read More
npm run build fails to compile transpiled App.js file. Suspected ES6 and commonJS mismatch...


reactjsecmascript-6commonjsreact-typescript

Read More
Exported function is undefined...


javascripttypescriptmocha.jsbabeljscommonjs

Read More
Tailwind 3.3.2 - module is not defined...


javascripttailwind-csses6-modulescommonjs

Read More
Rollup Error: 'default' is not exported by node_modules/react/index.js...


javascriptreactjsecmascript-6commonjsrollupjs

Read More
Universal way to use CommonJS in Javascript with ESM...


vue.jsvitees6-modulescommonjs

Read More
Field 'browser' doesn't contain a valid alias configuration...


npmwebpackcommonjswebpack-2package.json

Read More
Issue puppeteer CommonJS/ESM "puppeteer.Locator.race"...


javascriptpuppeteeres6-modulescommonjs

Read More
How can I use "Go To Definition" for CommonJS `require`s in VS Code when the path to resol...


node.jsvisual-studio-codeintellisensecommonjsgo-to-definition

Read More
Why NodeJS is able to load esm modules without default export for some packages?...


node.jses6-modulescommonjs

Read More
TypeError: Cannot convert object to primitive value when trying to use template literal in require(`...


reactjssvgvitecommonjs

Read More
Migrating Angular 13 to Angluar 18...


angularmigrationcommonjsangular18

Read More
difference between import and require...


javascriptnode.jses6-modulescommonjs

Read More
Vite CommonJS Resolver throws Unexpected Token Error when importing ESM...


create-react-appes6-modulesvitecommonjs

Read More
Create declaration file for third party library as CJS...


javascripttypescripttypescommonjs.d.ts

Read More
BackNext