Commit Graph

5 Commits

Author SHA1 Message Date
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