diff --git a/.gitignore b/.gitignore index 3701fcb..32c29dd 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ node_modules/ -pnpm-lock.yaml \ No newline at end of file +pnpm-lock.yaml +stats.html \ No newline at end of file diff --git a/README.md b/README.md index 7705a0d..b6f6cb0 100644 --- a/README.md +++ b/README.md @@ -38,3 +38,6 @@ Because it's - Not really finished - Doesn't have any plugins - Will break at the slightest poke or prod (related to the first one) + +# Screenshots +![Image of the Demoncord plugins menu](screenshots/1.png) \ No newline at end of file diff --git a/package.json b/package.json index 1df3618..ddcd09f 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,7 @@ "dependencies": { "idb-keyval": "^6.1.0", "nests": "^2.3.1", + "rollup-plugin-visualizer": "^5.7.0", "spitroast": "^1.4.2" }, "devDependencies": { diff --git a/rollup.config.js b/rollup.config.js index 703ce31..0309fcc 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -4,6 +4,8 @@ import { nodeResolve } from "@rollup/plugin-node-resolve"; import alias from "@rollup/plugin-alias"; import { swc } from "rollup-plugin-swc3"; import { resolve as resolvePath } from "path"; +import { visualizer } from "rollup-plugin-visualizer"; + const projectRootDir = resolvePath(__dirname); export default defineConfig({ @@ -45,6 +47,7 @@ export default defineConfig({ target: "es2022", baseUrl: "./src" } - }) + }), + visualizer() ] }); diff --git a/screenshots/1.png b/screenshots/1.png new file mode 100644 index 0000000..827f55f Binary files /dev/null and b/screenshots/1.png differ