From 4db86876dd79e8633421c2e71333094feaed6a58 Mon Sep 17 00:00:00 2001 From: James Chen Date: Tue, 23 Jan 2024 16:19:34 +0800 Subject: [PATCH] Update ccbuild to 2.2.3 and some minor fixes (#16698) * Update ccbuild to 2.2.3 and some minor fixes * Update package-lock.json --- package-lock.json | 8 ++++---- package.json | 2 +- scripts/build-const.js | 2 +- templates/web-desktop/index-plugin.ejs | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8f6e29e2707..8c3eaf95184 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ "@babel/plugin-proposal-class-properties": "^7.18.6", "@cocos/box2d": "1.0.1", "@cocos/cannon": "1.2.8", - "@cocos/ccbuild": "2.2.1", + "@cocos/ccbuild": "2.2.3", "@cocos/dragonbones-js": "^1.0.1" }, "devDependencies": { @@ -2330,9 +2330,9 @@ } }, "node_modules/@cocos/ccbuild": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/@cocos/ccbuild/-/ccbuild-2.2.1.tgz", - "integrity": "sha512-ssmn2V0VnmgW1muTJPKmTHDyjL1xkQDIwcW68lUgmm4nDC1bDSh/AfOV4dYuPJDPLUShHFCcqOLaLVO/bNtArg==", + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/@cocos/ccbuild/-/ccbuild-2.2.3.tgz", + "integrity": "sha512-dVf/7GIpvfhwdx6SgJxGckDck7ZEGLci8X+5Go0GFPvcS8gY1YKSLyKG7/sWAXXJ9+CZlfnOvKIwuu8oyoirog==", "dependencies": { "@babel/core": "^7.20.12", "@babel/helper-module-imports": "7.18.6", diff --git a/package.json b/package.json index 2a62dd6d1d1..a8766e367d1 100644 --- a/package.json +++ b/package.json @@ -81,7 +81,7 @@ "@babel/plugin-proposal-class-properties": "^7.18.6", "@cocos/box2d": "1.0.1", "@cocos/cannon": "1.2.8", - "@cocos/ccbuild": "2.2.1", + "@cocos/ccbuild": "2.2.3", "@cocos/dragonbones-js": "^1.0.1" } } diff --git a/scripts/build-const.js b/scripts/build-const.js index fb8f31ab28f..22f1f821de7 100644 --- a/scripts/build-const.js +++ b/scripts/build-const.js @@ -1,4 +1,4 @@ -const { StatsQuery } = require('@cocos/build-engine'); +const { StatsQuery } = require('@cocos/ccbuild'); const { join } = require('path'); const { outputFileSync } = require('fs-extra'); const { magenta, green } = require('chalk'); diff --git a/templates/web-desktop/index-plugin.ejs b/templates/web-desktop/index-plugin.ejs index d72e53d03ef..866efbd45e6 100644 --- a/templates/web-desktop/index-plugin.ejs +++ b/templates/web-desktop/index-plugin.ejs @@ -10,5 +10,5 @@ \ No newline at end of file