@cocojs/cli 0.0.1-alpha202511172053 → 0.0.1-alpha202511202111
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 +2 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -390,7 +390,7 @@ var build = function build() {
|
|
|
390
390
|
case 0:
|
|
391
391
|
_context.n = 1;
|
|
392
392
|
return rollup.rollup({
|
|
393
|
-
input: path$1.join(process$1.cwd(), './src/
|
|
393
|
+
input: path$1.join(process$1.cwd(), './src/index.ts'),
|
|
394
394
|
plugins: [typescript({
|
|
395
395
|
compilerOptions: {
|
|
396
396
|
target: 'ESNext',
|
|
@@ -420,7 +420,7 @@ var build = function build() {
|
|
|
420
420
|
result = _context.v;
|
|
421
421
|
_context.n = 2;
|
|
422
422
|
return result.write({
|
|
423
|
-
file: path$1.join(process$1.cwd(), './dist/
|
|
423
|
+
file: path$1.join(process$1.cwd(), './dist/index.esm.js'),
|
|
424
424
|
format: 'es'
|
|
425
425
|
});
|
|
426
426
|
case 2:
|
|
@@ -432,10 +432,8 @@ var build = function build() {
|
|
|
432
432
|
|
|
433
433
|
var _test_helper;
|
|
434
434
|
|
|
435
|
-
// TODO: 添加测试用例验证模版的基本功能都是正确的?
|
|
436
435
|
/**
|
|
437
436
|
* 应用项目命令
|
|
438
|
-
* coco app create 搭建框架
|
|
439
437
|
* coco app build 构建
|
|
440
438
|
* coco app dev 开发
|
|
441
439
|
*/
|
|
@@ -460,7 +458,6 @@ function execAppCmd(action) {
|
|
|
460
458
|
}
|
|
461
459
|
/**
|
|
462
460
|
* 组件库项目命令
|
|
463
|
-
* coco lib create 搭建框架
|
|
464
461
|
* coco lib build 构建
|
|
465
462
|
*/
|
|
466
463
|
function execLibCmd(action) {
|