Skip to content

Commit 32a70bc

Browse files
committed
switch build to commonjs
1 parent efbf0b5 commit 32a70bc

File tree

7 files changed

+5
-6
lines changed

7 files changed

+5
-6
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* eslint-disable @typescript-eslint/no-var-requires */
2-
const baseConfig = require('../../jest.config.cjs')
2+
const baseConfig = require('../../jest.config.js')
33

44
module.exports = {
55
...baseConfig,

lib/koa-api/package.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,11 @@
1616
"private": false,
1717
"author": "Ivan Vlatković",
1818
"license": "MIT",
19-
"type": "module",
20-
"main": "./dist/prod/index.cjs",
21-
"module": "./dist/prod/index.modern.js",
19+
"main": "./dist/prod/index.js",
20+
"module": "./dist/prod/index.modern.mjs",
2221
"exports": {
23-
"require": "./dist/prod/index.cjs",
24-
"default": "./dist/prod/index.modern.js"
22+
"require": "./dist/prod/index.js",
23+
"default": "./dist/prod/index.modern.mjs"
2524
},
2625
"types": "./dist/types/index.d.ts",
2726
"files": [

0 commit comments

Comments
 (0)