Commit Graph

8 Commits

Author SHA1 Message Date
renovate[bot]
806134e95e
chore(deps): update dependency esbuild to ^0.21.0 2024-05-07 08:50:02 +00:00
renovate[bot]
22982cf296
chore(deps): update dependency tailwindcss to v3 2023-06-27 16:14:38 +00:00
renovate[bot]
2bbbec248c
chore(deps): update dependency postcss-import to v15 2023-02-27 11:39:35 +00:00
Akshit Garg
3f5b1d10ac
refactor(assets): swap webpack for esbuild
- Remove all webpack and babel related npm dependencies
- Add esbuild and esbuild-plugin-postcss2 as a dependency
- Add a custom `build.js` script to build css and js with esbuild
  and copy static files to the priv/static directory
- Modify `config/dev.exs` to use that build script as a watcher instead
  of webpack
- Modify `package.json` to use that build script in instead of webpack
- Modify `KetbinWeb.Endpoint` to serve the assets directory instead of
  css and js directories from static
- Modify the `app.html.eex` layout to use `assets` directory instead of
  separate css and js directories

Signed-off-by: Akshit Garg <garg.akshit@gmail.com>
2021-08-21 17:41:46 +05:30
74ed02c4da chore(build): remove node-sass and sass-loader
fixes freebsd builds

Signed-off-by: SphericalKat <amolele@gmail.com>
2021-08-20 07:00:07 +05:30
40b55e47de
fix(build): prevent all styles from being purged
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-08-14 15:18:55 +05:30
92ee2be4cc
chore(web): add tailwindcss
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-08-11 13:46:02 +05:30
supercmmetry
6f81702291
chore(git): Initial commit
Signed-off-by: supercmmetry <vishaals2000@gmail.com>
2021-08-09 14:18:23 +05:30