Playground highlights and shows info/errors from build
This commit is contained in:
9
playground/build
Executable file
9
playground/build
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
echo Builds the workMain.js and copies newt.js
|
||||
esbuild --bundle node_modules/monaco-editor/esm/vs/editor/editor.worker.js > public/workerMain.js
|
||||
# bare javascript, it fakes node api for the idris code in newt.js
|
||||
esbuild src/shim.ts > public/shim.js
|
||||
cp ../build/exec/newt.js public
|
||||
# uncomment to make this smaller
|
||||
# esbuild --minify ../build/exec/newt.min.js > public/newt.js
|
||||
|
||||
Reference in New Issue
Block a user