Skip to content

Commit

Permalink
refactor: polyglot-ydoc-server
Browse files Browse the repository at this point in the history
  • Loading branch information
4e6 committed Apr 2, 2024
1 parent 9000a62 commit 80bcd19
Show file tree
Hide file tree
Showing 14 changed files with 11 additions and 5 deletions.
10 changes: 8 additions & 2 deletions app/gui2/vite.ydoc-server.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,14 @@ export default defineConfig({
'global.TYPED_ARRAY_SUPPORT': true,
},
build: {
minify: false,
outDir: '../../lib/java/js-websocket/target/classes/dist',
minify: false, // For debugging
emptyOutDir: true,
outDir: '../../lib/java/polyglot-ydoc-server/target/classes/dist',
/* lib: {
entry: fileURLToPath(new URL('ydoc-server/server.ts', import.meta.url)),
name: 'ydocServer',
fileName: 'ydocServer'
}, */
rollupOptions: {
input: {
ydocServer: fileURLToPath(new URL('ydoc-server/server.ts', import.meta.url)),
Expand Down
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -1118,8 +1118,8 @@ lazy val searcher = project
.dependsOn(testkit % Test)
.dependsOn(`polyglot-api`)

lazy val `js-websocket` = project
.in(file("lib/java/js-websocket"))
lazy val `polyglot-ydoc-server` = project
.in(file("lib/java/polyglot-ydoc-server"))
.enablePlugins(JPMSPlugin)
.configs(Test)
.settings(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

module WebSocketPolyfill {
module PolyglotYdocServer {
requires org.graalvm.polyglot;
requires io.helidon.webclient;
requires io.helidon.webclient.websocket;
Expand Down

0 comments on commit 80bcd19

Please sign in to comment.