From 77850ee172f958f48098dc78060f05a1ed3b770e Mon Sep 17 00:00:00 2001 From: Deseteral Date: Fri, 29 Sep 2023 20:04:22 +0200 Subject: [PATCH] Fixed build --- package.json | 2 +- vite.config.ts | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 0d4ac29..f770b99 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ponczek", - "version": "1.1.0", + "version": "1.1.1", "description": "Deep-fried game framework with sweet filling", "author": "Deseteral ", "license": "MIT", diff --git a/vite.config.ts b/vite.config.ts index 00f7277..6fbce5d 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -9,6 +9,11 @@ export default defineConfig({ build: { outDir: path.join(__dirname, './examples/dist'), assetsDir: 'public', + rollupOptions: { + output: { + format: 'umd', + }, + }, }, resolve: { alias: {