Skip to content

Commit

Permalink
Chore/base/vite update (#567)
Browse files Browse the repository at this point in the history
* update Vite to version 4

* remove minification when building for github pages
  • Loading branch information
joshua-larks committed Mar 20, 2024
1 parent dc16273 commit 381ce02
Show file tree
Hide file tree
Showing 3 changed files with 1,205 additions and 1,560 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "streamlabs-beaker",
"version": "0.11.11",
"version": "0.11.12",
"main": "./dist/beaker.umd.js",
"module": "./dist/beaker.es.js",
"license": "MIT",
Expand Down Expand Up @@ -50,7 +50,7 @@
"tslib": "^1.9.3",
"typescript": "^3.7.3",
"vee-validate": "^2.0.0-rc.25",
"vite": "3.2.4",
"vite": "^4.5.2",
"vite-plugin-vue2": "^2.0.2",
"vue-class-component": "^7.2.6",
"vue-click-outside": "^1.0.7",
Expand Down
15 changes: 8 additions & 7 deletions vite.config.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
import { defineConfig } from 'vite'
import { createVuePlugin } from 'vite-plugin-vue2'
import { defineConfig } from "vite";
import { createVuePlugin } from "vite-plugin-vue2";

export default defineConfig({
base: '/beaker/',
base: "/beaker/",
plugins: [createVuePlugin()],
build: {
minify: false,
sourcemap: true,
commonjsOptions: {
requireReturnsDefault: true
}
}
})
requireReturnsDefault: true,
},
},
});
Loading

0 comments on commit 381ce02

Please sign in to comment.