SpiceQA
Questions
Tags
Users
Badges
commonjs
112 Questions
Newest
Active
Unanswered
Frequent
More
Score
View
Card
Compact
Building with parcel for the browser - how to not output CommonJS or ES Modules
user_15035860
0
•
asked Sep 17, 2021
1
1
1741
commonjs
parceljs
browserify
javascript
Error using swiperjs React - `The requested module 'react' is expected to be of type CommonJS`
user_13213262
0
•
asked Sep 16, 2021
1
1
3304
commonjs
swiper.js
reactjs
javascript
Why does typescript allow me to import dependencies it can't use at runtime?
tieTYT_61624
0
•
asked Sep 15, 2021
12
3
1548
commonjs
es6-modules
typescript
node.js
javascript
Cannot compile a typscript file with ts-node in a nextjs application with ts.config {"module": "esnext"}
user_15471207
0
•
asked Sep 8, 2021
5
0
426
commonjs
ts-node
typescript
next.js
node.js
Mix Node's CommonJS and Typescript's ES modules
user_819023
0
•
asked Sep 8, 2021
2
1
328
commonjs
es6-modules
typescript
node.js
javascript
How do I make a ESM / CJS module that doesn't require adding '.default' to the imports
user_3832377
0
•
asked Aug 26, 2021
2
1
624
commonjs
es6-modules
babeljs
tsc
typescript
How to allow CommonJS programs to import from my TypeScript library without using require().default and having autocomplete in text editors
user_14295200
0
•
asked Aug 20, 2021
1
1
78
commonjs
node-modules
typescript
node.js
Use import inside a nodejs usually using require
user_1098303
0
•
asked Aug 15, 2021
1
3
1476
commonjs
es6-modules
node.js
ecmascript-6
javascript
What is the difference between `main` and `module` vs `exports` in package.json?
user_14441642
0
•
asked Jul 29, 2021
10
1
520
commonjs
node.js
require
import
javascript
Is there a way to create a module that can be consumed by both ESM and CJS applications?
user_16451147
0
•
asked Jul 22, 2021
3
1
687
mjs
commonjs
rollupjs
node.js
javascript
Prev
Prev
2
3
4
(current)
5
6
Next
Next
Hot Questions