Commit graph

18 commits

Author SHA1 Message Date
Suraj Shetty
70e4b8a459 fix: Use different key for RTL assets 2021-07-05 14:39:46 +05:30
Suraj Shetty
6df9fd2bf8 fix: Build asset file from results sequentially 2021-07-05 14:10:51 +05:30
Suraj Shetty
4ddf8c18d8 feat: Execute separate build command for style files
- Execute style build twice (one for LTR and one for RTL) because rtlcss is dependant on comments and esbuild strips all comments so we cannot run rtlcss on built css files.
2021-07-05 10:38:55 +05:30
Suraj Shetty
40dd522796 feat: Auto generate RTL styles using rtlcss
https://github.com/MohammadYounes/rtlcss
2021-06-25 13:06:09 +05:30
Faris Ansari
d20cf5c02f fix: Check if folder exists before cleaning
If folder doesn't exist, an exception is thrown in node 16
2021-06-16 13:49:04 +05:30
Faris Ansari
23406d031a fix: Store assets.json directly in assets folder
assets.json stores assets of all apps, so doesn't make sense to put it in frappe folder
2021-05-27 11:50:56 +05:30
Faris Ansari
807070282c fix: Abort redis retries only for esbuild 2021-05-18 13:41:57 +05:30
Faris Ansari
e711ada61c fix: build should work even when redis is down 2021-05-16 11:53:05 +05:30
Faris Ansari
4b39f7f699 fix: Print rebuilt files in watch mode 2021-05-16 11:13:54 +05:30
Faris Ansari
41d9bc64e1 fix: Run build command only in bench build 2021-05-07 14:49:19 +05:30
Faris Ansari
555ba2818e style: sider fixes 2021-05-07 14:10:27 +05:30
Faris Ansari
fa236fd9c5 style: sider issues 2021-05-04 07:21:49 +05:30
Faris Ansari
4ea74b24cf fix: Run build command for apps 2021-05-04 07:01:21 +05:30
Faris Ansari
f0f43e01c0 fix: Ability to build only specified files
Command:
node esbuild --files frappe/desk.bundle.js

Update only changed keys in assets.json instead of overwriting
2021-05-04 06:49:29 +05:30
Faris Ansari
9f4edaedbb fix: bench build command
- Add --apps option
- Add --production option
- Add --apps option for bench watch command
- Add --skip_frappe in esbuild
2021-05-02 15:13:41 +05:30
Faris Ansari
b175490849 fix: Update assets_json instead of overwriting
When you run build for specific apps, it should remove the entries of other apps
2021-05-02 15:04:43 +05:30
Faris Ansari
ad116c385a fix: Exit redis after setting value so that process can exit 2021-05-01 20:15:27 +05:30
Faris Ansari
b22a4ddb08 fix: Rename esbuild/index -> esbuild 2021-05-01 16:04:11 +05:30
Renamed from esbuild/index.js (Browse further)