Nitro
Enabled
Section titled “Enabled”This plugin is enabled if there’s a match in "dependencies" or "devDependencies" in package.json:
-
nitropack -
nitro
Default configuration
Section titled “Default configuration”If this plugin is enabled, the following configuration is added automatically:
{ "nitro": { "config": [ "nitro.config.{js,mjs,ts}" ], "entry": [ "server.{js,mjs,ts}", "api/**/*.ts", "routes/**/*.ts", "middleware/**/*.ts", "plugins/**/*.ts", ".nitro/types/*.d.ts" ] }}Depending on local configuration, plugins may modify the defaults as shown.
Custom config or entry options override default values, they are not merged.
See Plugins for more details about plugins and their entry and config options.
Knip works best with manual imports.
Nitro allows you to disable auto-imports by setting imports: false in your Nitro config.
Generated from source
Section titled “Generated from source”This page was generated from the nitro plugin source code.
ISC License © 2024 Lars Kappert