UNPKG

@thisismissem/adonisjs-respond-with

Version:

A small plugin for Adonis.js to make responding with different content-types easier.

8 lines (7 loc) 270 B
import { dirname } from 'node:path'; import { fileURLToPath } from 'node:url'; /** * Path to the root directory where the stubs are stored. We use * this path within commands and the configure hook */ export const stubsRoot = dirname(fileURLToPath(import.meta.url));