From 0d3c5d89750e24c1913495beee3b3d2e066839ef Mon Sep 17 00:00:00 2001 From: Stefan Zerkalica Date: Fri, 7 Feb 2025 18:19:24 +0300 Subject: [PATCH 1/2] $mol_build create test.html after js --- build/build.node.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build/build.node.ts b/build/build.node.ts index f66f9b6a4d..98734dec4b 100644 --- a/build/build.node.ts +++ b/build/build.node.ts @@ -688,14 +688,14 @@ namespace $ { @ $mol_action bundleAll( path: string ) { - this.bundle([ path , 'index.html' ]) - this.bundle([ path , 'test.html' ]) - this.bundleAllWeb(path) this.bundleAllWebAudit(path) this.bundleAllNode(path) this.bundleAllNodeAudit(path) + this.bundle([ path , 'index.html' ]) + this.bundle([ path , 'test.html' ]) + this.bundle([ path , 'package.json' ]) this.bundle([ path , 'readme.md' ]) From df144c39d794da17b6bb515a9ef5a5272cf42106 Mon Sep 17 00:00:00 2001 From: Stefan Zerkalica Date: Fri, 7 Feb 2025 18:34:11 +0300 Subject: [PATCH 2/2] $mol_build ensure added in build test --- build/build.node.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/build/build.node.ts b/build/build.node.ts index 98734dec4b..34ccbfa27a 100644 --- a/build/build.node.ts +++ b/build/build.node.ts @@ -688,14 +688,14 @@ namespace $ { @ $mol_action bundleAll( path: string ) { + this.bundle([ path , 'index.html' ]) + this.bundle([ path , 'test.html' ]) + this.bundleAllWeb(path) this.bundleAllWebAudit(path) this.bundleAllNode(path) this.bundleAllNodeAudit(path) - this.bundle([ path , 'index.html' ]) - this.bundle([ path , 'test.html' ]) - this.bundle([ path , 'package.json' ]) this.bundle([ path , 'readme.md' ]) @@ -1017,6 +1017,7 @@ namespace $ { const start = this.now() + this.modEnsure(path) const pack = $mol_file.absolute( path ) const source = pack.resolve( 'index.html' ) const target = pack.resolve( `-/test.html` )