Skip to content

Commit

Permalink
Adding server build
Browse files Browse the repository at this point in the history
  • Loading branch information
udany committed Nov 10, 2022
1 parent 4a47169 commit cf491ed
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"scripts": {
"dev": "node index.js",
"build:node": "babel src --extensions .ts,.js --out-dir src/dist/server",
"build:client": "vite build --outDir ../dist/client --ssrManifest"
"build:client": "vite build --outDir ../dist/client --emptyOutDir --ssrManifest",
"build:server": "vite build --outDir ../dist/server --emptyOutDir --ssr entry-server.js"
},
"author": "",
"license": "ISC",
Expand All @@ -18,6 +19,7 @@
"bcrypt": "^5.1.0",
"express": "^4.18.1",
"fast-glob": "^3.2.11",
"jsdom": "^20.0.2",
"prosemirror-commands": "^1.3.0",
"prosemirror-history": "^1.3.0",
"prosemirror-keymap": "^1.2.0",
Expand Down

0 comments on commit cf491ed

Please sign in to comment.