Port asset pipeline to Hanami
This commit is contained in:
14
config/assets.js
Normal file
14
config/assets.js
Normal 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;
|
||||
// }
|
||||
// });
|
Reference in New Issue
Block a user