From 825e7252292a7f25ef58f654b11aa87a73802a84 Mon Sep 17 00:00:00 2001 From: Luca Guidi Date: Mon, 13 Nov 2023 14:49:13 +0100 Subject: [PATCH] Link assets guides --- lib/hanami/cli/generators/gem/app/assets.js | 2 ++ spec/unit/hanami/cli/commands/gem/new_spec.rb | 2 ++ 2 files changed, 4 insertions(+) diff --git a/lib/hanami/cli/generators/gem/app/assets.js b/lib/hanami/cli/generators/gem/app/assets.js index 3b97f750..8e3e0089 100644 --- a/lib/hanami/cli/generators/gem/app/assets.js +++ b/lib/hanami/cli/generators/gem/app/assets.js @@ -4,6 +4,8 @@ await assets.run(); // To provide additional esbuild (https://esbuild.github.io) options, use the following: // +// Read more at: https://guides.hanamirb.org/assets/overview/ +// // await assets.run({ // esbuildOptionsFn: (args, esbuildOptions) => { // // Add to esbuildOptions here. Use `args.watch` as a condition for different options for diff --git a/spec/unit/hanami/cli/commands/gem/new_spec.rb b/spec/unit/hanami/cli/commands/gem/new_spec.rb index 3bf45806..443cc070 100644 --- a/spec/unit/hanami/cli/commands/gem/new_spec.rb +++ b/spec/unit/hanami/cli/commands/gem/new_spec.rb @@ -219,6 +219,8 @@ class App < Hanami::App // To provide additional esbuild (https://esbuild.github.io) options, use the following: // + // Read more at: https://guides.hanamirb.org/assets/overview/ + // // await assets.run({ // esbuildOptionsFn: (args, esbuildOptions) => { // // Add to esbuildOptions here. Use `args.watch` as a condition for different options for