Merge pull request #843 from toeverything/himself65/alias

fix: alias
This commit is contained in:
DarkSky 2023-02-07 01:38:44 +08:00 committed by GitHub
commit aaaca538d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,6 @@
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
"exports": {
"./src/*": "./dist/src/*.js",
".": "./dist/src/index.js"
},
"scripts": {

View File

@ -6,7 +6,6 @@
"type": "module",
"types": "dist/src/index.d.ts",
"exports": {
"./src/*": "./dist/src/*.js",
".": "./dist/src/index.js"
},
"scripts": {

View File

@ -5,7 +5,6 @@
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
"exports": {
"./src/*": "./dist/src/*.js",
".": "./dist/src/index.js"
},
"scripts": {

View File

@ -17,7 +17,10 @@
"experimentalDecorators": true,
"baseUrl": ".",
"paths": {
"@/*": ["src/*"]
"@/*": ["src/*"],
"@affine/datacenter": ["packages/datacenter/src"],
"@affine/i18n": ["packages/i18n/src"],
"@affine/logger": ["packages/logger/src"]
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],