Set up a go skeleton that works with the underlying FE js
This commit is contained in:
parent
f0321b3f49
commit
c0e29a5b89
5 changed files with 116 additions and 6 deletions
|
|
@ -7,6 +7,7 @@ import sveltePreprocess from "svelte-preprocess"
|
|||
import typescript from "@rollup/plugin-typescript"
|
||||
|
||||
const production = !process.env.ROLLUP_WATCH
|
||||
const do_serve = !process.env.SKIP_SERVE
|
||||
|
||||
function serve() {
|
||||
let server
|
||||
|
|
@ -71,7 +72,7 @@ export default {
|
|||
|
||||
// In dev mode, call `npm run start` once
|
||||
// the bundle has been generated
|
||||
!production && serve(),
|
||||
!production && do_serve && serve(),
|
||||
|
||||
// Watch the `public` directory and refresh the
|
||||
// browser on changes when not in production
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue