mirror of
https://github.com/ebosas/microservices.git
synced 2024-11-24 08:02:24 +02:00
Test pipeline [BuildAll]
This commit is contained in:
parent
c9b985d4c9
commit
1cbd5cf672
@ -1,8 +0,0 @@
|
|||||||
require('esbuild').buildSync({
|
|
||||||
entryPoints: ['src/index.tsx'],
|
|
||||||
bundle: true,
|
|
||||||
minify: true,
|
|
||||||
sourcemap: false,
|
|
||||||
// target: ['chrome58', 'firefox57', 'safari11', 'edge16'],
|
|
||||||
outdir: 'build',
|
|
||||||
})
|
|
@ -3,7 +3,7 @@
|
|||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"scripts": {
|
"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",
|
"build-server": "esbuild src/index.tsx --bundle --outdir=../../cmd/server/static/build",
|
||||||
"serve": "esbuild src/index.tsx --outfile=index.js --bundle --sourcemap --serve=8000"
|
"serve": "esbuild src/index.tsx --outfile=index.js --bundle --sourcemap --serve=8000"
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user