katbin/assets
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
..
css fix(pastes): sanitize paste content while rendering 2021-08-17 03:00:24 +05:30
js refactor(assets): swap webpack for esbuild 2021-08-21 17:41:46 +05:30
static fix(build): prevent all styles from being purged 2021-08-14 15:18:55 +05:30
.babelrc chore(git): Initial commit 2021-08-09 14:18:23 +05:30
build.js refactor(assets): swap webpack for esbuild 2021-08-21 17:41:46 +05:30
package-lock.json refactor(assets): swap webpack for esbuild 2021-08-21 17:41:46 +05:30
package.json refactor(assets): swap webpack for esbuild 2021-08-21 17:41:46 +05:30
postcss.config.js chore(web): add tailwindcss 2021-08-11 13:46:02 +05:30
tailwind.config.js feat(pastes): add page to view pastes 2021-08-13 05:47:13 +05:30
webpack.config.js chore(build): remove node-sass and sass-loader 2021-08-20 07:00:07 +05:30