Commit Graph

4 Commits

Author SHA1 Message Date
54d5dd5c39
fix(api): add CORS plug to router
Signed-off-by: Amogh Lele <amolele@gmail.com>
2022-05-28 11:20:26 +05:30
Amogh Lele
5a0995b991
fix(endpoint): increase parser limit to 10mb
Signed-off-by: Amogh Lele <amogh@dyte.io>
2022-05-23 16:44:51 +05:30
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
supercmmetry
6f81702291
chore(git): Initial commit
Signed-off-by: supercmmetry <vishaals2000@gmail.com>
2021-08-09 14:18:23 +05:30