@cocojs/cli 0.0.1-alpha202511172053 → 0.1.0-beta.20
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/build-dot-coco-process/index.js +363 -449
- package/dist/index.js +255 -94
- package/dist/webpack-process/index.js +151 -96
- package/package.json +12 -8
|
@@ -4,11 +4,35 @@ var process$1 = require('node:process');
|
|
|
4
4
|
var Webpack = require('webpack');
|
|
5
5
|
var WebpackDevServer = require('webpack-dev-server');
|
|
6
6
|
var HtmlWebpackPlugin = require('html-webpack-plugin');
|
|
7
|
-
var TerserPlugin = require('terser-webpack-plugin');
|
|
8
7
|
var path = require('node:path');
|
|
9
8
|
var fs = require('node:fs');
|
|
10
9
|
var webpackMerge = require('webpack-merge');
|
|
11
10
|
|
|
11
|
+
function asyncGeneratorStep(n, t, e, r, o, a, c) {
|
|
12
|
+
try {
|
|
13
|
+
var i = n[a](c),
|
|
14
|
+
u = i.value;
|
|
15
|
+
} catch (n) {
|
|
16
|
+
return void e(n);
|
|
17
|
+
}
|
|
18
|
+
i.done ? t(u) : Promise.resolve(u).then(r, o);
|
|
19
|
+
}
|
|
20
|
+
function _asyncToGenerator(n) {
|
|
21
|
+
return function () {
|
|
22
|
+
var t = this,
|
|
23
|
+
e = arguments;
|
|
24
|
+
return new Promise(function (r, o) {
|
|
25
|
+
var a = n.apply(t, e);
|
|
26
|
+
function _next(n) {
|
|
27
|
+
asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
|
|
28
|
+
}
|
|
29
|
+
function _throw(n) {
|
|
30
|
+
asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
|
|
31
|
+
}
|
|
32
|
+
_next(void 0);
|
|
33
|
+
});
|
|
34
|
+
};
|
|
35
|
+
}
|
|
12
36
|
function _classCallCheck(a, n) {
|
|
13
37
|
if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
14
38
|
}
|
|
@@ -23,6 +47,55 @@ function _createClass(e, r, t) {
|
|
|
23
47
|
writable: false
|
|
24
48
|
}), e;
|
|
25
49
|
}
|
|
50
|
+
function _defineProperty(e, r, t) {
|
|
51
|
+
return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
52
|
+
value: t,
|
|
53
|
+
enumerable: true,
|
|
54
|
+
configurable: true,
|
|
55
|
+
writable: true
|
|
56
|
+
}) : e[r] = t, e;
|
|
57
|
+
}
|
|
58
|
+
function ownKeys(e, r) {
|
|
59
|
+
var t = Object.keys(e);
|
|
60
|
+
if (Object.getOwnPropertySymbols) {
|
|
61
|
+
var o = Object.getOwnPropertySymbols(e);
|
|
62
|
+
r && (o = o.filter(function (r) {
|
|
63
|
+
return Object.getOwnPropertyDescriptor(e, r).enumerable;
|
|
64
|
+
})), t.push.apply(t, o);
|
|
65
|
+
}
|
|
66
|
+
return t;
|
|
67
|
+
}
|
|
68
|
+
function _objectSpread2(e) {
|
|
69
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
70
|
+
var t = null != arguments[r] ? arguments[r] : {};
|
|
71
|
+
r % 2 ? ownKeys(Object(t), true).forEach(function (r) {
|
|
72
|
+
_defineProperty(e, r, t[r]);
|
|
73
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
|
|
74
|
+
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
return e;
|
|
78
|
+
}
|
|
79
|
+
function _objectWithoutProperties(e, t) {
|
|
80
|
+
if (null == e) return {};
|
|
81
|
+
var o,
|
|
82
|
+
r,
|
|
83
|
+
i = _objectWithoutPropertiesLoose(e, t);
|
|
84
|
+
if (Object.getOwnPropertySymbols) {
|
|
85
|
+
var n = Object.getOwnPropertySymbols(e);
|
|
86
|
+
for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
87
|
+
}
|
|
88
|
+
return i;
|
|
89
|
+
}
|
|
90
|
+
function _objectWithoutPropertiesLoose(r, e) {
|
|
91
|
+
if (null == r) return {};
|
|
92
|
+
var t = {};
|
|
93
|
+
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
94
|
+
if (-1 !== e.indexOf(n)) continue;
|
|
95
|
+
t[n] = r[n];
|
|
96
|
+
}
|
|
97
|
+
return t;
|
|
98
|
+
}
|
|
26
99
|
function _regenerator() {
|
|
27
100
|
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
|
|
28
101
|
var e,
|
|
@@ -146,46 +219,6 @@ function _toPropertyKey(t) {
|
|
|
146
219
|
return "symbol" == typeof i ? i : i + "";
|
|
147
220
|
}
|
|
148
221
|
|
|
149
|
-
function __rest(s, e) {
|
|
150
|
-
var t = {};
|
|
151
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
152
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
153
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
154
|
-
}
|
|
155
|
-
return t;
|
|
156
|
-
}
|
|
157
|
-
function __awaiter(thisArg, _arguments, P, generator) {
|
|
158
|
-
function adopt(value) {
|
|
159
|
-
return value instanceof P ? value : new P(function (resolve) {
|
|
160
|
-
resolve(value);
|
|
161
|
-
});
|
|
162
|
-
}
|
|
163
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
164
|
-
function fulfilled(value) {
|
|
165
|
-
try {
|
|
166
|
-
step(generator.next(value));
|
|
167
|
-
} catch (e) {
|
|
168
|
-
reject(e);
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
function rejected(value) {
|
|
172
|
-
try {
|
|
173
|
-
step(generator["throw"](value));
|
|
174
|
-
} catch (e) {
|
|
175
|
-
reject(e);
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
function step(result) {
|
|
179
|
-
result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
|
|
180
|
-
}
|
|
181
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
182
|
-
});
|
|
183
|
-
}
|
|
184
|
-
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
185
|
-
var e = new Error(message);
|
|
186
|
-
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
187
|
-
};
|
|
188
|
-
|
|
189
222
|
var cmdDefaultEnvMap = {
|
|
190
223
|
dev: 'dev',
|
|
191
224
|
build: 'prod'
|
|
@@ -199,9 +232,12 @@ var configFileName = function configFileName(cmd) {
|
|
|
199
232
|
return env ? "config.".concat(env, ".js") : defaultConfigName;
|
|
200
233
|
};
|
|
201
234
|
|
|
202
|
-
function readWebpack(
|
|
203
|
-
|
|
204
|
-
|
|
235
|
+
function readWebpack(_x) {
|
|
236
|
+
return _readWebpack.apply(this, arguments);
|
|
237
|
+
}
|
|
238
|
+
function _readWebpack() {
|
|
239
|
+
_readWebpack = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(cmd) {
|
|
240
|
+
var _yield$import, _content$webpack;
|
|
205
241
|
var filename, filepath, content, _t, _t2, _t3;
|
|
206
242
|
return _regenerator().w(function (_context) {
|
|
207
243
|
while (1) switch (_context.n) {
|
|
@@ -218,13 +254,13 @@ function readWebpack(cmd) {
|
|
|
218
254
|
_context.n = 2;
|
|
219
255
|
return import(filepath);
|
|
220
256
|
case 2:
|
|
221
|
-
_t2 =
|
|
257
|
+
_t2 = _yield$import = _context.v;
|
|
222
258
|
_t = _t2 === null;
|
|
223
259
|
if (_t) {
|
|
224
260
|
_context.n = 3;
|
|
225
261
|
break;
|
|
226
262
|
}
|
|
227
|
-
_t =
|
|
263
|
+
_t = _yield$import === void 0;
|
|
228
264
|
case 3:
|
|
229
265
|
if (!_t) {
|
|
230
266
|
_context.n = 4;
|
|
@@ -234,13 +270,14 @@ function readWebpack(cmd) {
|
|
|
234
270
|
_context.n = 5;
|
|
235
271
|
break;
|
|
236
272
|
case 4:
|
|
237
|
-
_t3 =
|
|
273
|
+
_t3 = _yield$import["default"];
|
|
238
274
|
case 5:
|
|
239
275
|
content = _t3;
|
|
240
|
-
return _context.a(2, (
|
|
276
|
+
return _context.a(2, (_content$webpack = content === null || content === void 0 ? void 0 : content.webpack) !== null && _content$webpack !== void 0 ? _content$webpack : {});
|
|
241
277
|
}
|
|
242
278
|
}, _callee);
|
|
243
279
|
}));
|
|
280
|
+
return _readWebpack.apply(this, arguments);
|
|
244
281
|
}
|
|
245
282
|
var buildInConfig = {
|
|
246
283
|
mode: 'production',
|
|
@@ -251,7 +288,6 @@ var buildInConfig = {
|
|
|
251
288
|
use: [{
|
|
252
289
|
loader: require.resolve('babel-loader'),
|
|
253
290
|
options: {
|
|
254
|
-
presets: [require.resolve('@babel/preset-typescript')],
|
|
255
291
|
plugins: [[require.resolve('@babel/plugin-proposal-decorators'), {
|
|
256
292
|
version: '2023-11'
|
|
257
293
|
}], [require.resolve('@babel/plugin-transform-react-jsx'), {
|
|
@@ -263,8 +299,11 @@ var buildInConfig = {
|
|
|
263
299
|
loader: require.resolve('ts-loader'),
|
|
264
300
|
options: {
|
|
265
301
|
context: process.cwd(),
|
|
266
|
-
|
|
302
|
+
// TODO: 如果开启类型检查的话,编译过程会比较慢,待优化,试试看:fork-ts-checker-webpack-plugin
|
|
303
|
+
transpileOnly: true
|
|
267
304
|
}
|
|
305
|
+
}, {
|
|
306
|
+
loader: require.resolve('@cocojs/webpack-loader-mvc')
|
|
268
307
|
}],
|
|
269
308
|
exclude: /node_modules/
|
|
270
309
|
}]
|
|
@@ -284,14 +323,6 @@ var buildInConfig = {
|
|
|
284
323
|
path: path.join(process.cwd(), 'dist'),
|
|
285
324
|
clean: true
|
|
286
325
|
},
|
|
287
|
-
optimization: {
|
|
288
|
-
minimize: true,
|
|
289
|
-
minimizer: [new TerserPlugin({
|
|
290
|
-
terserOptions: {
|
|
291
|
-
keep_classnames: true
|
|
292
|
-
}
|
|
293
|
-
})]
|
|
294
|
-
},
|
|
295
326
|
devServer: {
|
|
296
327
|
"static": {
|
|
297
328
|
directory: path.join(process.cwd(), 'dist')
|
|
@@ -307,8 +338,11 @@ var buildInConfig = {
|
|
|
307
338
|
templateContent: "\n<!DOCTYPE html>\n<html lang=\"en\">\n<body>\n <div id=\"root\"></div>\n</body>\n</html>\n "
|
|
308
339
|
})]
|
|
309
340
|
};
|
|
310
|
-
function getWebpackConfig(
|
|
311
|
-
return
|
|
341
|
+
function getWebpackConfig(_x2) {
|
|
342
|
+
return _getWebpackConfig.apply(this, arguments);
|
|
343
|
+
}
|
|
344
|
+
function _getWebpackConfig() {
|
|
345
|
+
_getWebpackConfig = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2(cmd) {
|
|
312
346
|
var baseConfig, envConfig;
|
|
313
347
|
return _regenerator().w(function (_context2) {
|
|
314
348
|
while (1) switch (_context2.n) {
|
|
@@ -325,22 +359,24 @@ function getWebpackConfig(cmd) {
|
|
|
325
359
|
}
|
|
326
360
|
}, _callee2);
|
|
327
361
|
}));
|
|
362
|
+
return _getWebpackConfig.apply(this, arguments);
|
|
328
363
|
}
|
|
329
364
|
|
|
365
|
+
var _excluded = ["devServer"];
|
|
330
366
|
var WebpackBuilder = /*#__PURE__*/function () {
|
|
331
367
|
function WebpackBuilder() {
|
|
332
368
|
_classCallCheck(this, WebpackBuilder);
|
|
369
|
+
_defineProperty(this, "server", void 0);
|
|
333
370
|
}
|
|
334
371
|
return _createClass(WebpackBuilder, [{
|
|
335
372
|
key: "build",
|
|
336
|
-
value: function
|
|
337
|
-
|
|
338
|
-
var _this = this;
|
|
373
|
+
value: function () {
|
|
374
|
+
var _build = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2() {
|
|
339
375
|
return _regenerator().w(function (_context2) {
|
|
340
376
|
while (1) switch (_context2.n) {
|
|
341
377
|
case 0:
|
|
342
|
-
return _context2.a(2, new Promise(function (
|
|
343
|
-
|
|
378
|
+
return _context2.a(2, new Promise(/*#__PURE__*/function () {
|
|
379
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(resolve, reject) {
|
|
344
380
|
var config, compiler;
|
|
345
381
|
return _regenerator().w(function (_context) {
|
|
346
382
|
while (1) switch (_context.n) {
|
|
@@ -368,27 +404,34 @@ var WebpackBuilder = /*#__PURE__*/function () {
|
|
|
368
404
|
}
|
|
369
405
|
}, _callee);
|
|
370
406
|
}));
|
|
371
|
-
|
|
407
|
+
return function (_x, _x2) {
|
|
408
|
+
return _ref.apply(this, arguments);
|
|
409
|
+
};
|
|
410
|
+
}()));
|
|
372
411
|
}
|
|
373
412
|
}, _callee2);
|
|
374
413
|
}));
|
|
375
|
-
|
|
414
|
+
function build() {
|
|
415
|
+
return _build.apply(this, arguments);
|
|
416
|
+
}
|
|
417
|
+
return build;
|
|
418
|
+
}()
|
|
376
419
|
}, {
|
|
377
420
|
key: "startServer",
|
|
378
|
-
value: function
|
|
379
|
-
|
|
380
|
-
var
|
|
421
|
+
value: function () {
|
|
422
|
+
var _startServer = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee3() {
|
|
423
|
+
var _yield$getWebpackConf, devServer, config, compiler, devServerOptions;
|
|
381
424
|
return _regenerator().w(function (_context3) {
|
|
382
425
|
while (1) switch (_context3.n) {
|
|
383
426
|
case 0:
|
|
384
427
|
_context3.n = 1;
|
|
385
428
|
return getWebpackConfig('dev');
|
|
386
429
|
case 1:
|
|
387
|
-
|
|
388
|
-
devServer =
|
|
389
|
-
config =
|
|
430
|
+
_yield$getWebpackConf = _context3.v;
|
|
431
|
+
devServer = _yield$getWebpackConf.devServer;
|
|
432
|
+
config = _objectWithoutProperties(_yield$getWebpackConf, _excluded);
|
|
390
433
|
compiler = Webpack(config);
|
|
391
|
-
devServerOptions =
|
|
434
|
+
devServerOptions = _objectSpread2(_objectSpread2({}, devServer), {}, {
|
|
392
435
|
open: true
|
|
393
436
|
});
|
|
394
437
|
this.server = new WebpackDevServer(devServerOptions, compiler);
|
|
@@ -399,11 +442,15 @@ var WebpackBuilder = /*#__PURE__*/function () {
|
|
|
399
442
|
}
|
|
400
443
|
}, _callee3, this);
|
|
401
444
|
}));
|
|
402
|
-
|
|
445
|
+
function startServer() {
|
|
446
|
+
return _startServer.apply(this, arguments);
|
|
447
|
+
}
|
|
448
|
+
return startServer;
|
|
449
|
+
}()
|
|
403
450
|
}, {
|
|
404
451
|
key: "stopServer",
|
|
405
|
-
value: function
|
|
406
|
-
|
|
452
|
+
value: function () {
|
|
453
|
+
var _stopServer = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee4() {
|
|
407
454
|
return _regenerator().w(function (_context4) {
|
|
408
455
|
while (1) switch (_context4.n) {
|
|
409
456
|
case 0:
|
|
@@ -420,28 +467,29 @@ var WebpackBuilder = /*#__PURE__*/function () {
|
|
|
420
467
|
}
|
|
421
468
|
}, _callee4, this);
|
|
422
469
|
}));
|
|
423
|
-
|
|
470
|
+
function stopServer() {
|
|
471
|
+
return _stopServer.apply(this, arguments);
|
|
472
|
+
}
|
|
473
|
+
return stopServer;
|
|
474
|
+
}()
|
|
424
475
|
}]);
|
|
425
476
|
}();
|
|
426
477
|
|
|
427
478
|
function startListening(builder) {
|
|
428
|
-
var _this = this;
|
|
429
479
|
var terminating = false;
|
|
430
|
-
process$1.on('exit', function () {
|
|
431
|
-
return
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
process$1.on('message', function (msg) {
|
|
444
|
-
return __awaiter(_this, void 0, void 0, /*#__PURE__*/_regenerator().m(function _callee2() {
|
|
480
|
+
process$1.on('exit', /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee() {
|
|
481
|
+
return _regenerator().w(function (_context) {
|
|
482
|
+
while (1) switch (_context.n) {
|
|
483
|
+
case 0:
|
|
484
|
+
_context.n = 1;
|
|
485
|
+
return builder.stopServer();
|
|
486
|
+
case 1:
|
|
487
|
+
return _context.a(2);
|
|
488
|
+
}
|
|
489
|
+
}, _callee);
|
|
490
|
+
})));
|
|
491
|
+
process$1.on('message', /*#__PURE__*/function () {
|
|
492
|
+
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2(msg) {
|
|
445
493
|
var _t;
|
|
446
494
|
return _regenerator().w(function (_context2) {
|
|
447
495
|
while (1) switch (_context2.n) {
|
|
@@ -480,9 +528,15 @@ function startListening(builder) {
|
|
|
480
528
|
}
|
|
481
529
|
}, _callee2);
|
|
482
530
|
}));
|
|
483
|
-
|
|
531
|
+
return function (_x) {
|
|
532
|
+
return _ref2.apply(this, arguments);
|
|
533
|
+
};
|
|
534
|
+
}());
|
|
484
535
|
function handleTerminate() {
|
|
485
|
-
return
|
|
536
|
+
return _handleTerminate.apply(this, arguments);
|
|
537
|
+
}
|
|
538
|
+
function _handleTerminate() {
|
|
539
|
+
_handleTerminate = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee3() {
|
|
486
540
|
return _regenerator().w(function (_context3) {
|
|
487
541
|
while (1) switch (_context3.n) {
|
|
488
542
|
case 0:
|
|
@@ -496,6 +550,7 @@ function startListening(builder) {
|
|
|
496
550
|
}
|
|
497
551
|
}, _callee3);
|
|
498
552
|
}));
|
|
553
|
+
return _handleTerminate.apply(this, arguments);
|
|
499
554
|
}
|
|
500
555
|
process$1.on('SIGTERM', handleTerminate);
|
|
501
556
|
process$1.on('SIGINT', handleTerminate);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cocojs/cli",
|
|
3
3
|
"description": "命令行工具,支持开发和构建功能",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.1.0-beta.20",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"bin": {
|
|
@@ -13,35 +13,39 @@
|
|
|
13
13
|
"dist"
|
|
14
14
|
],
|
|
15
15
|
"homepage": "https://github.com/cocojs-org/coconut-framework",
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "https://github.com/cocojs-org/coconut-framework.git"
|
|
19
|
+
},
|
|
16
20
|
"keywords": [
|
|
17
21
|
"cocojs"
|
|
18
22
|
],
|
|
19
23
|
"author": "",
|
|
24
|
+
"publishConfig": {
|
|
25
|
+
"registry": "https://registry.npmjs.org/",
|
|
26
|
+
"access": "public"
|
|
27
|
+
},
|
|
20
28
|
"license": "MIT",
|
|
21
29
|
"dependencies": {
|
|
22
30
|
"@babel/core": "^7.26.7",
|
|
23
31
|
"@babel/generator": "^7.26.5",
|
|
24
|
-
"@babel/parser": "^7.26.7",
|
|
25
32
|
"@babel/plugin-proposal-decorators": "^7.25.9",
|
|
26
33
|
"@babel/plugin-transform-react-jsx": "^7.25.9",
|
|
27
|
-
"@babel/preset-typescript": "^7.26.0",
|
|
28
|
-
"@babel/traverse": "^7.26.7",
|
|
29
|
-
"@babel/types": "^7.26.7",
|
|
30
34
|
"@rollup/plugin-babel": "^6.0.4",
|
|
31
35
|
"@rollup/plugin-typescript": "^12.1.2",
|
|
32
36
|
"babel-loader": "^10.0.0",
|
|
33
37
|
"chokidar": "^4.0.3",
|
|
34
38
|
"fs-extra": "^11.2.0",
|
|
35
|
-
"glob": "9.3.5",
|
|
36
39
|
"html-webpack-plugin": "^5.6.3",
|
|
37
40
|
"rollup": "^4.36.0",
|
|
38
|
-
"terser-webpack-plugin": "^5.3.14",
|
|
39
41
|
"ts-loader": "^9.5.2",
|
|
40
42
|
"webpack": "^5.98.0",
|
|
41
43
|
"webpack-cli": "^6.0.1",
|
|
42
44
|
"webpack-dev-server": "^5.2.0",
|
|
43
45
|
"webpack-merge": "^6.0.1",
|
|
44
|
-
"@cocojs/
|
|
46
|
+
"@cocojs/rollup-plugin-mvc": "0.0.1-alpha.7",
|
|
47
|
+
"@cocojs/type-extractor": "0.0.16",
|
|
48
|
+
"@cocojs/webpack-loader-mvc": "0.0.1-alpha.7"
|
|
45
49
|
},
|
|
46
50
|
"devDependencies": {
|
|
47
51
|
"@types/node": "^22.15.18"
|