Skip to content

Commit

Permalink
fix: pluto module finding namespace (#55)
Browse files Browse the repository at this point in the history
Signed-off-by: Francisco Javier Ribó Labrador <[email protected]>
  • Loading branch information
igdev0 authored and elribonazo committed May 2, 2024
1 parent c295863 commit 5d56f88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pluto/Pluto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export type PlutoConnectionProps =

export default class Pluto implements PlutoInterface {
dataSource: DataSource;
wasmUrl: string = typeof window !== "undefined" ? `https://sql.js.org` : `node_modules`;
wasmUrl: string = typeof window !== "undefined" ? `https://sql.js.org` : `node_modules/sql.js`;

constructor(connection: PlutoConnectionProps) {
const presetSqlJSConfig =
Expand Down

0 comments on commit 5d56f88

Please sign in to comment.