--- a/index.html 2026-10-30 18:04:00.250213494 -0300
+++ b/index.html 2026-10-30 18:12:53.058352810 -0300
@@ -2,6 +2,7 @@
r33
+
--- a/vite.config.ts 2026-10-30 18:04:00.256706448 -0300
+++ b/vite.config.ts 2026-10-30 18:12:53.057076528 -0300
@@ -1,18 +1,5 @@
import { defineConfig } from "vite";
-const kaplayCongrats = () => {
- return {
- name: "vite-plugin-kaplay-hello",
- buildEnd() {
- const line =
- "---------------------------------------------------------";
- const msg = `š¦ Awesome pal! Send your game to us:\n\nš Discord: https://discord.com/invite/aQ6RuQm3TF \nš Donate to KAPLAY: https://opencollective.com/kaplay\n\ (you can disable this msg on vite.config)`;
-
- process.stdout.write(`\n${line}\n${msg}\n${line}\n`);
- },
- };
-};
-
export default defineConfig({
// index.html out file will start with a relative path for script
base: "./",
@@ -20,8 +7,8 @@
port: 3001,
},
build: {
- // disable this for low bundle sizes
- sourcemap: true,
+ // FredyGames: no source maps in the published build
+ sourcemap: false,
rollupOptions: {
output: {
manualChunks: {
@@ -30,8 +17,5 @@
},
},
},
- plugins: [
- // Disable messages removing this line
- kaplayCongrats(),
- ],
+ plugins: [],
});
\ No newline at end of file