{"library":"rollup-plugin-watch-external","title":"rollup-plugin-watch-external","description":"Rollup plugin to add additional files (e.g., assets, configs) to Rollup's watch list. Version 1.0.2 requires Rollup ^2.39.0. Minimal API: one option `entries` (array of glob patterns). Does not handle incremental rebuilds; simply triggers rebuild on changes to specified files. For a more feature-rich alternative, consider @rollup/plugin-watch or custom chokidar integration.","language":"javascript","status":"active","last_verified":"Mon Apr 27","install":{"commands":["npm install rollup-plugin-watch-external"],"cli":null},"imports":["import { watchExternal } from 'rollup-plugin-watch-external'","const { watchExternal } = require('rollup-plugin-watch-external')","import { watchExternal } from 'rollup-plugin-watch-external'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"// rollup.config.js\nimport { watchExternal } from 'rollup-plugin-watch-external';\n\nexport default {\n  input: 'src/index.js',\n  output: {\n    file: 'dist/bundle.js',\n    format: 'iife'\n  },\n  plugins: [\n    watchExternal({\n      entries: ['public/**.js', 'data/*.json']\n    })\n  ]\n};","lang":"javascript","description":"Shows basic setup with named import, glob patterns for JS and JSON files in watch list.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}