Skip to content

Commit

Permalink
fix: also adding options for ESM template (#551)
Browse files Browse the repository at this point in the history
  • Loading branch information
mccare committed Sep 18, 2022
1 parent 5ddf290 commit cb76e4f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions templates/app-esm/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ import { fileURLToPath } from 'url'
const __filename = fileURLToPath(import.meta.url)
const __dirname = path.dirname(__filename)

// Pass --options via CLI arguments in command to enable these options.
export const options = {}

export default async function (fastify, opts) {
// Place here your custom code!

Expand Down

0 comments on commit cb76e4f

Please sign in to comment.