|
|
@ -18,12 +18,14 @@ typescript:
|
|
|
|
-mkdir -p build/data/web/js
|
|
|
|
-mkdir -p build/data/web/js
|
|
|
|
-npx esbuild --bundle ts/admin.ts --outfile=./build/data/web/js/admin.js --minify
|
|
|
|
-npx esbuild --bundle ts/admin.ts --outfile=./build/data/web/js/admin.js --minify
|
|
|
|
-npx esbuild --bundle ts/form.ts --outfile=./build/data/web/js/form.js --minify
|
|
|
|
-npx esbuild --bundle ts/form.ts --outfile=./build/data/web/js/form.js --minify
|
|
|
|
|
|
|
|
-npx esbuild --bundle ts/setup.ts --outfile=./build/data/web/js/setup.js --minify
|
|
|
|
|
|
|
|
|
|
|
|
ts-debug:
|
|
|
|
ts-debug:
|
|
|
|
$(info compiling typescript w/ sourcemaps)
|
|
|
|
$(info compiling typescript w/ sourcemaps)
|
|
|
|
-mkdir -p build/data/web/js
|
|
|
|
-mkdir -p build/data/web/js
|
|
|
|
-npx esbuild --bundle ts/admin.ts --sourcemap --outfile=./build/data/web/js/admin.js
|
|
|
|
-npx esbuild --bundle ts/admin.ts --sourcemap --outfile=./build/data/web/js/admin.js
|
|
|
|
-npx esbuild --bundle ts/form.ts --sourcemap --outfile=./build/data/web/js/form.js
|
|
|
|
-npx esbuild --bundle ts/form.ts --sourcemap --outfile=./build/data/web/js/form.js
|
|
|
|
|
|
|
|
-npx esbuild --bundle ts/setup.ts --sourcemap --outfile=./build/data/web/js/setup.js
|
|
|
|
-rm -r build/data/web/js/ts
|
|
|
|
-rm -r build/data/web/js/ts
|
|
|
|
$(info copying typescript)
|
|
|
|
$(info copying typescript)
|
|
|
|
cp -r ts build/data/web/js
|
|
|
|
cp -r ts build/data/web/js
|
|
|
|