diff --git a/example/vite.config.js b/example/vite.config.js index 24e428d..4e2ebe7 100644 --- a/example/vite.config.js +++ b/example/vite.config.js @@ -4,6 +4,7 @@ import react from "@vitejs/plugin-react"; // https://vitejs.dev/config/ export default defineConfig({ plugins: [react()], + base: "./", define: { global: "window", }, diff --git a/package.json b/package.json index 372dc41..bc886a3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-stomp-hooks", - "version": "3.0.0-alpha.1", + "version": "3.0.0-alpha.2", "publishConfig": { "tag": "next" },