我为我的项目做了一个包,我已经把它安装到我的仓库里了。但是我不能从这个包中导入函数。
"compilerOptions": {
"module": "commonjs",
"declaration": true,
"removeComments": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"target": "es2017",
"sourceMap": true,
"outDir": "./dist",
"baseUrl": "./src",
"paths": {
"@/*": [
"./*"
],
"@qlub-dev/js-backend-common": ["./node_modules/@qlub-dev/js-backend-common"]
2条答案
按热度按时间liwlm1x91#
npm ls @qlub-dev/js-backend-common email protected(https://stackoverflow.com/cdn-cgi/l/email-protection) /Users/qlub/Desktop/ab-qsr脚本── @qlub-dev/ email protected(https://stackoverflow.com/cdn-cgi/l/email-protection)
rdrgkggo2#
npm ls @qlub-dev/js-backend-common