vite为什么在控制台看到的文件名是null?

为什么我在控制台输出日志无法查看具体的文件,也没办法打断点
vite为什么在控制台看到的文件名是null?

{

"dependencies": {

"@ant-design/icons-vue": "^6.0.1",

"@originjs/vite-plugin-global-style": "^1.0.3",

"ant-design-vue": "^3.2.20",

"axios": "^0.21.4",

"core-js": "^3.20.3",

"crypto-js": "^4.1.1",

"dayjs": "^1.10.7",

"echarts": "^5.2.2",

"nprogress": "^0.2.0",

"pinia": "^2.1.4",

"register-service-worker": "^1.7.2",

"unplugin-vue-components": "^0.25.1",

"vue": "^3.3.4",

"vue-router": "^4.2.4",

"webpack-encryption-js-part": "^0.0.1"

},

"devDependencies": {

"@babel/plugin-transform-class-properties": "^7.22.5",

"@babel/plugin-transform-private-methods": "^7.22.5",

"@babel/plugin-transform-private-property-in-object": "^7.22.5",

"@rollup/plugin-inject": "^5.0.3",

"@rushstack/eslint-patch": "^1.3.2",

"@vitejs/plugin-vue": "^4.2.3",

"@vitejs/plugin-vue-jsx": "^3.0.1",

"@vue/compiler-sfc": "^3.3.4",

"@vue/eslint-config-prettier": "^8.0.0",

"dotenv": "^16.3.1",

"eslint": "^8.45.0",

"eslint-plugin-vue": "^9.15.1",

"jsdom": "^22.1.0",

"less": "^4.0.0",

"less-loader": "^6.2.0",

"lint-staged": "^12.3.1",

"prettier": "^3.0.0",

"style-resources-loader": "^1.5.0",

"stylelint": "^14.3.0",

"vite": "^4.4.6",

"vite-plugin-commonjs": "^0.8.2",

"vitest": "^0.33.0",

"vue-cli-plugin-style-resources-loader": "^0.1.5"

}

但是又不是所有都是null,好像只有入口文件和路由的文件才会显示null,其他的文件能正常显示

以上是 vite为什么在控制台看到的文件名是null? 的全部内容, 来源链接: utcz.com/p/934765.html

回到顶部