This commit is contained in:
parent
1abb3cb6fc
commit
3555e2bd0c
2 changed files with 3 additions and 2 deletions
|
@ -5,7 +5,7 @@ pipeline:
|
|||
commands:
|
||||
- npm ci
|
||||
- mkdir build
|
||||
- esbuild stear/main.js --jsx-factory=s --loader:.js=jsx --loader:.html=text --bundle --minify --outdir=build
|
||||
- npm run build
|
||||
- ls build
|
||||
when:
|
||||
branch: master
|
|
@ -8,7 +8,8 @@
|
|||
},
|
||||
"scripts": {
|
||||
"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": {
|
||||
"type": "git",
|
||||
|
|
Loading…
Reference in a new issue