1
0
mirror of https://github.com/ebosas/microservices.git synced 2024-11-16 10:08:29 +02:00

Test pipeline [BuildAll]

This commit is contained in:
ebosas 2021-12-02 14:33:29 +02:00
parent c9b985d4c9
commit 1cbd5cf672
2 changed files with 1 additions and 9 deletions

View File

@ -1,8 +0,0 @@
require('esbuild').buildSync({
entryPoints: ['src/index.tsx'],
bundle: true,
minify: true,
sourcemap: false,
// target: ['chrome58', 'firefox57', 'safari11', 'edge16'],
outdir: 'build',
})

View File

@ -3,7 +3,7 @@
"version": "1.0.0",
"description": "",
"scripts": {
"build": "node esbuild.js",
"build": "esbuild src/index.tsx --bundle --minify --outdir=build",
"build-server": "esbuild src/index.tsx --bundle --outdir=../../cmd/server/static/build",
"serve": "esbuild src/index.tsx --outfile=index.js --bundle --sourcemap --serve=8000"
},