2
0
mirror of https://github.com/moebooru/moebooru synced 2025-08-22 09:57:31 +00:00

15 Commits

Author SHA1 Message Date
nanaya
df5991969d Fix incorrect build log duration 2024-12-08 05:24:32 +09:00
nanaya
6de773a569 Show build time 2024-11-04 16:05:29 +09:00
nanaya
54ac338cb9 Fix non-watch build 2024-11-04 07:10:58 +09:00
nanaya
e610e05337 Update to the latest libraries
Also changed mapping path for coffees
2024-11-04 05:30:37 +09:00
nanaya
443ed6ab33 Add date to build log 2024-11-04 03:51:39 +09:00
nanaya
fd925327a9 Add basic linter 2024-03-01 01:25:45 +09:00
nanaya
ac08c4e650 Use less instead of scss
Sass C library is deprecated and dart-sass has limited platform support.
less ruby library unfortunately isn't quite maintained so use native js.
2022-02-12 06:05:38 +09:00
nanaya
5ef09829e1 Sourcemap as much as possible
- use different extension for esbuild so it's not processed by sprockets
- set asset version to nil for predictable digested filename
- only esbuild sourcemap work on production
- debug is always enabled (not necessary for production at the moment but required for development sprockets file)
- make sure assets path generation uses manifest file for production
2022-02-05 23:41:46 +09:00
nanaya
21df4be593 Output esbuild initial result to tmp instead 2022-02-04 08:57:06 +09:00
nanaya
b0e6618c81 Analyze option for build script 2022-02-04 06:40:58 +09:00
nanaya
08e81466cb Now with more async
Userfulness is questionable.
2022-02-04 06:27:00 +09:00
nanaya
80dfaaf2ac Now with sourcemap 2022-02-04 05:00:21 +09:00
nanaya
288ff2e5bd Put babel back in, I guess 2022-02-04 04:46:03 +09:00
nanaya
9a5b779aa3 Lint build.js 2022-02-02 00:49:55 +09:00
nanaya
7acb8aa808 Replace webpacker with jsbundling
Victims include jquery-ui (replaced with autocompleter for the sole usage of it).
2022-02-02 00:48:43 +09:00