Port asset pipeline to Hanami

This commit is contained in:
2023-11-18 08:26:02 +11:00
parent d28e1d298b
commit cfbab5ab4b
21 changed files with 4747 additions and 573 deletions

14
config/assets.js Normal file
View File

@@ -0,0 +1,14 @@
import * as assets from "hanami-assets";
await assets.run();
// To provide additional esbuild (https://esbuild.github.io) options, use the following:
//
// await assets.run({
// esbuildOptionsFn: (args, esbuildOptions) => {
// // Add to esbuildOptions here. Use `args.watch` as a condition for different options for
// // compile vs watch.
//
// return esbuildOptions;
// }
// });