Trace: `isModuleDeclaration` has been deprecated, please migrate to `isImportOrExportDeclaration`.

vue项目打包控制台一直在刷 Trace: sModuleDeclaration has been deprecated, please migrate to isImportOrExportDeclaration.

在pakage.json中加上 "@babel/types": "^7.21.2"就好了

// package.json
{
	"dependencies": {
		"@babel/types": "^7.21.2"
	}
}

你可能感兴趣的:(ERROR,BUG,前端)