mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-02 05:42:26 -06: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:
parent
56f53a2a6f
commit
5249294a16
40 changed files with 503 additions and 434 deletions
|
|
@ -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",
|
||||
},
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue