This commit is contained in:
parent
1abb3cb6fc
commit
3555e2bd0c
2 changed files with 3 additions and 2 deletions
|
@ -5,7 +5,7 @@ pipeline:
|
||||||
commands:
|
commands:
|
||||||
- npm ci
|
- npm ci
|
||||||
- mkdir build
|
- mkdir build
|
||||||
- esbuild stear/main.js --jsx-factory=s --loader:.js=jsx --loader:.html=text --bundle --minify --outdir=build
|
- npm run build
|
||||||
- ls build
|
- ls build
|
||||||
when:
|
when:
|
||||||
branch: master
|
branch: master
|
|
@ -8,7 +8,8 @@
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "echo \"Error: no test specified\" && exit 1",
|
"test": "echo \"Error: no test specified\" && exit 1",
|
||||||
"serveMenu": "esbuild example/menu/index.js --jsx-factory=s --loader:.js=jsx --loader:.html=text --bundle --minify --servedir=example/menu #--sourcemap"
|
"serveMenu": "esbuild example/menu/index.js --jsx-factory=s --loader:.js=jsx --loader:.html=text --bundle --minify --servedir=example/menu #--sourcemap",
|
||||||
|
"build":"esbuild stear/main.js --jsx-factory=s --loader:.js=jsx --loader:.html=text --bundle --minify --outdir=build"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
Loading…
Reference in a new issue