This plugin is enabled when there’s a match in dependencies or devDependencies in package.json:
dependencies
devDependencies
package.json
next
{ "next": { "entry": [ "next.config.{js,ts,cjs,mjs}", "{instrumentation,middleware}.{js,ts}", "app/global-error.{js,jsx,ts,tsx}", "app/**/{error,layout,loading,not-found,page,template}.{js,jsx,ts,tsx}", "app/**/{route,default}.{js,ts}", "app/{manifest,sitemap,robots}.{js,ts}", "app/**/{icon,apple-icon}.{js,jsx,ts,tsx}", "app/**/{opengraph,twitter}-image.{js,jsx,ts,tsx}", "pages/**/*.{js,jsx,ts,tsx}", "src/{instrumentation,middleware}.{js,ts}", "src/app/global-error.{js,jsx,ts,tsx}", "src/app/**/{error,layout,loading,not-found,page,template}.{js,jsx,ts,tsx}", "src/app/**/{route,default}.{js,ts}", "src/app/{manifest,sitemap,robots}.{js,ts}", "src/app/**/{icon,apple-icon}.{js,jsx,ts,tsx}", "src/app/**/{opengraph,twitter}-image.{js,jsx,ts,tsx}", "src/pages/**/*.{js,jsx,ts,tsx}" ] }}
Custom config or entry configuration overrides the defaults, they are not merged.
config
entry
ISC License © 2024 Lars Kappert