From 5249294a166c901469eeac1d3297e913b4a125e7 Mon Sep 17 00:00:00 2001 From: f0x52 Date: Mon, 3 Oct 2022 16:46:38 +0200 Subject: [chore] Bundler restructure (#880) * re-structure bundler, settings panel files * add more info logging * tidy up CSS syntax errors * split into lib/ files * livereloading server * fix factor function for production builds * remove testing console.log * default to production env, saves 300kb bundle size --- internal/web/settings-panel.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/web/settings-panel.go') diff --git a/internal/web/settings-panel.go b/internal/web/settings-panel.go index 3ba396998..9e0c2ca87 100644 --- a/internal/web/settings-panel.go +++ b/internal/web/settings-panel.go @@ -43,10 +43,10 @@ func (m *Module) SettingsPanelHandler(c *gin.Context) { assetsPathPrefix + "/dist/base.css", assetsPathPrefix + "/dist/profile.css", assetsPathPrefix + "/dist/status.css", - assetsPathPrefix + "/dist/settings-panel-style.css", + assetsPathPrefix + "/dist/settings-style.css", }, "javascript": []string{ - assetsPathPrefix + "/dist/bundle.js", + assetsPathPrefix + "/dist/react-bundle.js", assetsPathPrefix + "/dist/settings.js", }, }) -- cgit v1.2.3