fix: move types to the first field (#270)

This commit is contained in:
三咲智子 Kevin Deng 2023-01-27 21:22:39 +08:00 committed by GitHub
parent 5ee3a2f109
commit 60b9f7c86d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,9 +8,9 @@
"sideEffects": false,
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.js",
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts"
"import": "./dist/index.mjs"
},
"./dist/webpack/loaders/load": "./dist/webpack/loaders/load.js",
"./dist/webpack/loaders/transform": "./dist/webpack/loaders/transform.js"