{"library":"rollup-plugin-hot","title":"rollup-plugin-hot","description":"HMR (Hot Module Replacement) plugin for Rollup, leveraging SystemJS. Current stable version 0.1.1, released in Aug 2020. This is a proof-of-concept, not production-ready. It forces output format to 'system' during HMR and provides a dev server with proxy support. Key differentiator: it enables live reload and stateful HMR for Rollup-built apps, using SystemJS for module loading. However, it has limited maintenance and lacks support for Rollup 3+.","language":"javascript","status":"active","last_verified":"Mon Apr 27","install":{"commands":["npm install rollup-plugin-hot"],"cli":null},"imports":["import hmr from 'rollup-plugin-hot'","import hmr from 'rollup-plugin-hot'; export default { plugins: [hmr({ enabled: true })] }","// @ts-ignore\nimport hmr from 'rollup-plugin-hot'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import hmr from 'rollup-plugin-hot';\n\nexport default {\n  input: 'src/main.js',\n  output: {\n    dir: 'public',\n    format: 'iife',\n    sourcemap: true,\n  },\n  plugins: [\n    hmr({\n      enabled: true,\n      public: 'public',\n      baseUrl: '/',\n      port: 33440,\n      open: 'default',\n      openPage: '/',\n    }),\n  ],\n};\n\n// Run rollup --watch to enable HMR","lang":"javascript","description":"Basic Rollup configuration with rollup-plugin-hot. Sets up HMR dev server on port 33440, watches for changes, and opens browser.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}