Commit graph

29 commits

Author SHA1 Message Date
Lim Chee Aun
c8c96f08ac Another attempt to conditional load Intl.Segmenter polyfill 2024-03-25 19:31:25 +08:00
Lim Chee Aun
c19096ab1b Try no split CSS 2024-03-24 10:13:51 +08:00
Lim Chee Aun
ed309b289f Add categories 2024-03-06 14:25:46 +08:00
Lim Chee Aun
29e9e15d3f Try split it out as another chunk 2024-03-05 00:51:53 +08:00
Lim Chee Aun
cef4e6373e Add 404 page 2024-03-02 13:53:53 +08:00
Lim Chee Aun
038b2b2e6b Upgrade vite and dependencies 2024-02-09 20:07:06 +08:00
Lim Chee Aun
2bc1b8387e Fix missing name & short_name inside webmanifest
Need to pass env prefix to loadEnv too
2024-01-05 09:14:09 +08:00
Lim Chee Aun
a539cfea0a Don't link to github if fake commit hash 2023-12-25 20:05:56 +08:00
Lim Chee Aun
f520e30858 Extend self-hosting variables 2023-12-25 19:25:48 +08:00
Lim Chee Aun
2923c23672 Test remove theme_color 2023-12-24 23:43:18 +08:00
Lim Chee Aun
91419b3243 Enable relative path hosting 2023-08-30 17:46:22 +08:00
Lim Chee Aun
79aaa04af3 Add ID for manifest 2023-05-24 17:18:22 +08:00
Lim Chee Aun
7e58a4e14f Use different build path for icons, cache them 2023-04-14 17:23:41 +08:00
Lim Chee Aun
e00f5e8f65 Expose host 2023-04-06 16:15:19 +08:00
Lim Chee Aun
668acdcf0b Disable rollup's treeshake
It eliminated all code under this line 5b5f7ad105/src/text-expander-element.ts (L124)
2023-03-22 21:01:03 +08:00
Lim Chee Aun
86ec30852c Don't need vite-plugin-html-env anymore 2023-03-18 21:51:27 +08:00
Lim Chee Aun
b2b8b58863 Very basic update checker 2023-02-28 15:27:42 +08:00
Lim Chee Aun
21f9b3c4c6 Upgrade vite-plugin-remove-console
Includes all other console.* methods too
2023-02-14 19:10:21 +08:00
Lim Chee Aun
c2bf9eabc5 Remove consoles in prod 2023-01-02 15:09:31 +08:00
Lim Chee Aun
89cb909094 Fix NODE_ENV not even working here 2023-01-02 14:22:01 +08:00
Lim Chee Aun
2a2b730b20 Try vite-plugin-html-config for conditional embed of script
Somehow the vite-if thing not working on vite-plugin-html-env. Leaving it installed since the ENV thing works.
2022-12-28 13:47:11 +08:00
Lim Chee Aun
605e6ac588 Conditionally use error logging
Totally not needed on local dev at all. Disable for prod for now
2022-12-27 20:47:23 +08:00
Lim Chee Aun
11c5b02832 Fix env not working in vite config
So the manifest can't even get the name 🤦‍♂️🤦‍♂️🤦‍♂️🤦‍♂️🤦‍♂️🤦‍♂️🤦‍♂️🤦‍♂️🤦‍♂️
2022-12-22 19:38:02 +08:00
Lim Chee Aun
7c5b0ccea3 Add maskable icon 2022-12-20 19:12:25 +08:00
Lim Chee Aun
ee360403fd It's time for MVP PWA/ServiceWorker
- Not 100% offline yet, very minimal caching
- Fix logo a little
2022-12-19 14:51:56 +08:00
Lim Chee Aun
56cab34a9c Test add last build time and commit hash 2022-12-15 14:42:34 +08:00
Lim Chee Aun
f7d2f6fdac Enable source map and split vendor chunk 2022-12-15 11:47:11 +08:00
Lim Chee Aun
9d78e67381 New feature: pop-out compose window
- More consistent design for both reply-to status and source status preview
- Fixed bugs too
- Make sure index.css is always above
2022-12-13 20:42:09 +08:00
Lim Chee Aun
2b9390a0a1 Initial commit 2022-12-10 17:14:48 +08:00