Gabe Kangas
27c48c4068
chore(deps): update to next config to address build errors
2 years ago
Gabe Kangas
6d217b4f5a
fix(web): do not set nextjs rewrites on prod builds
2 years ago
renovate[bot]
89091fcefa
fix(deps): update nextjs monorepo to v14 (major) ( #3404 )
...
* fix(deps): update nextjs monorepo to v14
* chore: update build scripts to support next 14. Closes #3413
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Gabe Kangas <gabek@real-ity.com>
2 years ago
Gabe Kangas
670eae10db
fix(admin): maybe help with firefox+service workers? Re: #3097
2 years ago
Gabe Kangas
10ec2afb04
chore(deps): remove webpack-deadcode-plugin in favor of knip
2 years ago
Gabe Kangas
e50b23d081
Cleanup unused Javascript ( #3027 )
...
* chore(js): be stricter about dead code warnings
* chore(js): remove dead code and unused exports
* rebase
* chore: remove unused files
* chore(deps): remove unused prop-types dep
* chore(js): remove unused function
* chore(deps): remove + check unused deps
* chore(js): remove unused exports. Closes #3036
2 years ago
Gabe Kangas
d53cd65767
fix: force video assets to never use the cache
2 years ago
Gabe Kangas
b28145a26b
fix: disable caching in dev + fix runtime cache usage
2 years ago
Gabe Kangas
ddef3f421c
feat: precache web assets. Closes #3030 ( #3032 )
2 years ago
Gabe Kangas
bcbaa4e688
Only create source maps when setting SOURCE_MAPS
3 years ago
Gabe Kangas
19c228eaf6
Allow adding custom javascript to the page. Closes #2604
3 years ago
Gabe Kangas
85dc3bf21e
Fix storybook errors
3 years ago
Gabe Kangas
98070d8751
Turnning swc back off as it does not seem to work with storybook
3 years ago
Gabe Kangas
03cd2af1d2
Experiment with enabling swc for faster builds
3 years ago
Gabe Kangas
f95fbcc38b
Enable source maps in production
3 years ago
Gabe Kangas
42facacd24
Set next setting to not try to optimize images
3 years ago
Gabe Kangas
d91f682d21
Lazy load chat container
3 years ago
Gabe Kangas
6564fc69bf
Support web vitals attribution
3 years ago
Gabe Kangas
91edad5024
Add webpack bundle analyzer for debugging
3 years ago
Gabe Kangas
ec57feac94
Enable React strict mode
3 years ago
Gabe Kangas
2c45b420e5
Import server-rendered template as plain text + add title tag. Closes #2161
3 years ago
Gabe Kangas
cedfd18208
Fix next builds
3 years ago
James Young
d1f3fffe2f
reafctor: normalize component formatting ( #2082 )
...
* refactor: move/rename BanUserButton file
* refactor: move/rename Chart file
* refactor: update generic component filenames to PascalCase
* refactor: update config component filenames to PascalCase
* refactor: update AdminLayout component filename to PascalCase
* refactor: update/move VideoJS component
* chore(eslint): disable bad react/require-default-props rule
* refactor: normalize ActionButton component
* refactor: normalize ActionButtonRow component
* refactor: normalize FollowButton component
* refactor: normalize NotifyButton component
* refactor: normalize ChatActionMessage component
* refactor: normalize ChatContainer component
* refactor: normalize ChatJoinMessage component
* refactor: normalize ChatModerationActionMenu component
* refactor: normalize ChatModerationDetailsModal component
* refactor: normalize ChatModeratorNotification component
* refactor: normalize ChatSocialMessage component
* refactor: normalize ChatSystemMessage component
* refactor: normalize ChatTextField component
* refactor: normalize ChatUserBadge component
* refactor: normalize ChatUserMessage component
* refactor: normalize ContentHeader component
* refactor: normalize OwncastLogo component
* refactor: normalize UserDropdown component
* chore(eslint): modify react/function-component-definition rule
* refactor: normalize CodecSelector component
* refactor: update a bunch of functional components using eslint
* refactor: update a bunch of functional components using eslint, pt2
* refactor: update a bunch of functional components using eslint, pt3
* refactor: replace all component->component default imports with named imports
* refactor: replace all component-stories->component default imports with named imports
* refactor: remove default exports from most components
* chore(eslint): add eslint config files for the components and pages dirs
* fix: use-before-define error in ChatContainer
* Fix ChatContainer import
* Only process .tsx files in Next builds
Co-authored-by: Gabe Kangas <gabek@real-ity.com>
3 years ago
Gabe Kangas
6de93f9651
Move the favicons
3 years ago
Gabe Kangas
8ed01ed4da
../
...
First pass at the emoji picker
3 years ago
Gabe Kangas
dde9878a46
Fix favicon 404s in dev
3 years ago
Gabe Kangas
0bf1c7ce48
Add category icons as customizable svgs
3 years ago
Gabe Kangas
528ae4c1ad
Add logo component and social links
3 years ago
Gabe Kangas
ff6886575f
Add player poster
3 years ago
Gabe Kangas
3b3f785984
Use the webpack dev server proxy for requests
3 years ago
Gabe Kangas
79bfa0145f
Moved admin to /admin and created blank placeholder for v2 frontend
3 years ago
Gabe Kangas
3ce6fd4cb3
Add support for less variables and using a custom theme
3 years ago
Gabe Kangas
0ccb60c528
Change export paths
5 years ago
Gabe Kangas
bcf9c34946
Build should expect /admin to be the root
5 years ago