{"library":"rollup-plugin-watch-assets","title":"rollup-plugin-watch-assets","description":"A dead-simple Rollup plugin (v1.0.1, last updated 2022) that adds non-JS assets like HTML and CSS to Rollup's file watcher. Useful alongside copy plugins to trigger rebuilds when static files change. Accepts an array of filenames or globs. Lightweight alternative to manual watcher configuration or complex tooling. No dependencies beyond Rollup.","language":"javascript","status":"active","last_verified":"Mon Apr 27","install":{"commands":["npm install rollup-plugin-watch-assets"],"cli":null},"imports":["import watchAssets from 'rollup-plugin-watch-assets'","import watchAssets from 'rollup-plugin-watch-assets'","const watchAssets = require('rollup-plugin-watch-assets')"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import watchAssets from 'rollup-plugin-watch-assets';\n\nexport default {\n  input: 'src/index.js',\n  output: {\n    dir: 'build',\n    format: 'es'\n  },\n  plugins: [\n    watchAssets({ assets: ['src/index.html', 'src/styles/*.css'] })\n  ]\n};","lang":"javascript","description":"Basic setup: import plugin, add to plugins array, specify asset paths/globs to watch.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}