@cocojs/cli 0.1.0-beta.24 → 0.1.0-beta.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -526,7 +526,7 @@ var build = /*#__PURE__*/function () {
526
526
  case 1:
527
527
  config = _context.v;
528
528
  _context.n = 2;
529
- return bundleRollup.bundle({
529
+ return bundleRollup.bundleThirdPartLib({
530
530
  input: path$1.join(process$1.cwd(), './src/index.ts'),
531
531
  output: {
532
532
  file: path$1.join(process$1.cwd(), './dist/index.esm.js'),
@@ -266,7 +266,7 @@ var buildInConfig = {
266
266
  }
267
267
  },
268
268
  plugins: [new HtmlWebpackPlugin({
269
- templateContent: "\n<!DOCTYPE html>\n<html lang=\"en\">\n<body>\n <div id=\"root\"></div>\n</body>\n</html>\n "
269
+ templateContent: "\n<!DOCTYPE html>\n<html lang=\"zh-CN\">\n<head>\n <meta charset=\"UTF-8\">\n</head>\n<body>\n <div id=\"root\"></div>\n</body>\n</html>\n "
270
270
  })]
271
271
  };
272
272
  function getWebpackConfig(_x2) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cocojs/cli",
3
3
  "description": "命令行工具,支持开发和构建功能",
4
- "version": "0.1.0-beta.24",
4
+ "version": "0.1.0-beta.26",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "bin": {
@@ -30,8 +30,8 @@
30
30
  "chokidar": "^4.0.3",
31
31
  "fs-extra": "^11.2.0",
32
32
  "html-webpack-plugin": "^5.6.3",
33
- "@cocojs/bundle-rollup": "0.0.1-beta.11",
34
- "@cocojs/bundle-webpack": "0.0.1-beta.9"
33
+ "@cocojs/bundle-webpack": "0.0.1-beta.10",
34
+ "@cocojs/bundle-rollup": "0.0.1-beta.12"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@types/node": "^22.15.18"