mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
[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
This commit is contained in:
@@ -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",
|
||||
},
|
||||
})
|
||||
|
Reference in New Issue
Block a user