Skip to content

Commit a853fce

Browse files
committed
chore: neutral platform
1 parent 6004da7 commit a853fce

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@
3535
],
3636
"sideEffects": false,
3737
"exports": {
38-
".": "./dist/index.mjs",
39-
"./macro": "./dist/macro.mjs",
38+
".": "./dist/index.js",
39+
"./macro": "./dist/macro.js",
4040
"./package.json": "./package.json"
4141
},
42-
"main": "./dist/index.mjs",
43-
"module": "./dist/index.mjs",
44-
"types": "./dist/index.d.mts",
42+
"main": "./dist/index.js",
43+
"module": "./dist/index.js",
44+
"types": "./dist/index.d.ts",
4545
"typesVersions": {
4646
"*": {
4747
"*": [

scripts/benchmark.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import gensync from 'gensync'
33
import { bench, do_not_optimize, run, summary } from 'mitata'
44
// eslint-disable-next-line antfu/no-import-dist
5-
import { quansync } from '../dist/index.mjs'
5+
import { quansync } from '../dist/index.js'
66

77
const sync = () => 10
88
const async = async () => 10

tsdown.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { defineConfig } from 'tsdown'
22

33
export default defineConfig({
44
entry: 'src/{index,macro}.ts',
5+
platform: 'neutral',
56
inlineOnly: [],
67
exports: true,
78
dts: {

0 commit comments

Comments
 (0)