Skip to content

Commit

Permalink
ensure that monaco.bundle.js exists - fixes #63
Browse files Browse the repository at this point in the history
  • Loading branch information
dmonad committed Jun 25, 2024
1 parent 888b14e commit f5530ef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion monaco/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
"description": "Yjs ❤ Monaco",
"main": "index.js",
"scripts": {
"ensureBundle": "[ -f ./dist/monaco.bundle.js ] || npm run dist",
"watch": "webpack -w --stats errors-only",
"dist": "webpack --mode=production",
"start": "webpack serve --open monaco.html"
"start": "npm run ensureBundle && webpack serve --open monaco.html"
},
"author": "Kevin Jahns <kevin.jahns@pm.me>",
"license": "UNLICENSE",
Expand Down

0 comments on commit f5530ef

Please sign in to comment.