automatic builds with netlify.

This commit is contained in:
fiatjaf
2022-03-09 15:14:35 -03:00
parent b135de6fc0
commit 6fb5b00dd0
3 changed files with 671 additions and 2 deletions

View File

@@ -1,6 +1,7 @@
{
"scripts": {
"start": "./build.js && sbt ~fastLinkJS"
"start": "./build.js && sbt ~fastLinkJS",
"build": "./build.js prod && ./sbtx fullLinkJS && mkdir -p dist/target/scala-2.13/app-fastopt/ && cp index.html globals.bundle.js dist/ && cp target/scala-2.13/app-opt/main.js dist/target/scala-2.13/app-fastopt/"
},
"dependencies": {
"@esbuild-plugins/node-globals-polyfill": "^0.1.1",