{"_id":"svelte-loader-hot","_rev":"12-a94d48cb62b461cacdba4432abcc4211","name":"svelte-loader-hot","dist-tags":{"next":"0.3.1-1","latest":"0.3.1"},"versions":{"0.0.1-0":{"name":"svelte-loader-hot","version":"0.0.1-0","author":{"name":"Nico Rehwaldt","email":"git_nikku@nixis.de"},"maintainers":[{"name":"rixo","email":"rixo@rixo.fr"}],"description":"Webpack loader for Svelte with HMR support","license":"MIT","keywords":["svelte","sveltejs","webpack-loader","hmr"],"repository":{"type":"git","url":"git@github.com:rixo/svelte-loader-hot.git"},"homepage":"https://github.com/rixo/svelte-loader-hot","bugs":{"url":"https://github.com/rixo/svelte-loader-hot/issues"},"dependencies":{"loader-utils":"^1.1.0","svelte-dev-helper":"^1.1.9","svelte-hmr":"~0.1.0"},"devDependencies":{"chai":"^4.1.2","eslint":"^5.4.0","eslint-plugin-mocha":"^5.2.0","mocha":"^5.2.0","sinon":"^6.1.5","sinon-chai":"^3.2.0","svelte":"3.12"},"peerDependencies":{"svelte":">1.44.0"},"scripts":{"all":"npm run lint && npm run test","test":"mocha --harmony --full-trace --check-leaks","lint":"eslint index.js lib/*.js test/**/*.js"},"_id":"svelte-loader-hot@0.0.1-0","dist":{"shasum":"fb654f00cab5a9cf92275480429826715a3b4eab","tarball":"https://registry.npmjs.org/svelte-loader-hot/-/svelte-loader-hot-0.0.1-0.tgz","integrity":"sha512-a2EMecYJYG4P1bDYbuPtd0rfpgUkDqzD6WWSGoACgwKcodN/XCHJqZ5mif+F4K2xTHmihQ1nPEe+G5XtOnMDwg==","fileCount":26,"unpackedSize":77736,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdzt4RCRA9TVsSAnZWagAA6csP/0jf/prCvKKP1M7rbzzV\nctAtXB/ViMeOqZRpRwilOSsWcNiLs9mYoMBNC89uxMrbxMOCRma6t2u2GZiy\nNBqI+rlFFi3+CUJka0xfJqC5wSOamHsJVGad7Brg5FSCU8Pb0ln2+MZe4SsE\nktk7kZqEBjRu3eAju50bhExSIJeL0r30YtpcP4aTL61r/aDlbdMJf5dF6RnC\nGDhI4IWH5VbSPlczcJ9EMQZcPnmr0NrUep6TmgwSHX8Il4pTsWcYkvnv7pTX\n6zoLBd0QWZIYPZAJizFW2ERgOKEuDzHJl03bDt2ozFb6pCOJfWZZs897KdaA\nFpcaHMTM+METKyyhuzP4UKPkvfoDdPDOHKTFx8KNMiWtvUdBdvv0GKRNVkAa\nVZPFzf5zQJEPGsicUzlv3b0NWXJpd/rqgi1aMjUrdU0uZLHeOYJGksbNNozW\nZKORUpqthtCE7TKpzOR8mpD0ZF2yn8GZlfuQcHiIeGkhAusDFX4r0a8voGY/\n1rHvn5Y8QU1KIBt/Y6UEH4I3JRqcQZHWIfUIfql0r210t36QoJAxGEG3MyYs\n+/myOGQNAjM8MoxI1HB53eOU32OPxYkAzI4h5u2mpZ16f/LmnutaAL06sbSM\nAtw2kNqn7novkg8C15FCrJ/gzDpTcaGaIcpqLhRFGdqS96K2BiZ8DP5D+pxX\n4s/f\r\n=KKGY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC8OKGYb+FwfhS9heXQ8XOm+oRmDmaWhpslKfjKP6/uPQIgdqX/OV2TkTrMYKrPGuyskSNoh3CiPGV+6p6TJ6kl5Rs="}]},"_npmUser":{"name":"rixo","email":"rixo@rixo.fr"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-loader-hot_0.0.1-0_1573838352658_0.6610908297120606"},"_hasShrinkwrap":false},"0.0.1-1":{"name":"svelte-loader-hot","version":"0.0.1-1","author":{"name":"Nico Rehwaldt","email":"git_nikku@nixis.de"},"maintainers":[{"name":"rixo","email":"rixo@rixo.fr"}],"description":"Webpack loader for Svelte with HMR support","license":"MIT","keywords":["svelte","sveltejs","webpack-loader","hmr"],"repository":{"type":"git","url":"git@github.com:rixo/svelte-loader-hot.git"},"homepage":"https://github.com/rixo/svelte-loader-hot","bugs":{"url":"https://github.com/rixo/svelte-loader-hot/issues"},"dependencies":{"loader-utils":"^1.1.0","svelte-dev-helper":"^1.1.9","svelte-hmr":"~0.1.0"},"devDependencies":{"chai":"^4.1.2","eslint":"^5.4.0","eslint-plugin-mocha":"^5.2.0","mocha":"^5.2.0","sinon":"^6.1.5","sinon-chai":"^3.2.0","svelte":"3.12"},"peerDependencies":{"svelte":">1.44.0"},"scripts":{"all":"npm run lint && npm run test","test":"mocha --harmony --full-trace --check-leaks","lint":"eslint index.js lib/*.js test/**/*.js"},"readmeFilename":"README.md","readme":"# svelte-loader-hot\n\nThis is a copy of official [svelte-loader](https://github.com/sveltejs/svelte-loader) with added HMR support.\n\nHMR is not officially supported by Svelte 3 yet. Progress can be tracked in [this issue](https://github.com/sveltejs/svelte/issues/3632).\n\nMeanwhile, please report your issues regarding HMR (with Webpack) in this project's [issue tracker](https://github.com/rixo/rollup-plugin-svelte-hot/issues). By the way, now is a very good time to share your ideas & suggestions about Svelte HMR, since this is all very much a work in progress. Mere feedback is welcome, too.\n\n## Templates\n\nTo quickly bootstrap a new project, or for example purpose, you can use the following templates. They are copies of the official templates, with the bare minimum added to support HMR with this plugin.\n\n- [svelte-template-hot](https://github.com/rixo/svelte-template-webpack-hot): hot version of the official Svelte template for Webpack.\n\n- [sapper-template-hot](https://github.com/rixo/sapper-template-hot/tree/webpack): Sapper + Webpack template with HMR.\n\n## Installation\n\n```bash\nnpm install --save-dev svelte-loader-hot\n```\n\n## Usage\n\nThis plugin can be used as a drop-in replacement for `svelte-loader`. It aims to remain as close to the official plugin as possible. Please refer to [official docs](https://github.com/sveltejs/svelte-loader) for general usage of the plugin. For HMR specific stuff, see bellow.\n\nConfigure inside your `webpack.config.js`:\n\n```javascript\nmodule.exports = {\n  ...\n  module: {\n    rules: [\n      ...\n      {\n        test: /\\.(html|svelte)$/,\n        exclude: /node_modules/,\n        use: {\n          loader: 'svelte-loader-hot',\n          options: {\n            // NOTE emitCss: true is currently not supported with HMR\n            emitCss: false,\n            // Enable HMR\n            hotReload: true, // Default: false\n            // Extra HMR options\n            hotOptions: {\n              // Do not preserve local state (i.e. non exported `let` variables)\n              // between HMR updates\n              noPreserveState: false, // Default: false\n              // Try to recover from runtime errors happening during reloaded\n              // component init\n              optimistic: true, // Default: false\n            }\n          }\n        }\n      }\n      ...\n    ]\n  },\n  plugins: [\n    new webpack.HotModuleReplacementPlugin(),\n    ...\n  ]\n}\n```\n\nYou also need to add the [HotModuleReplacementPlugin](https://webpack.js.org/plugins/hot-module-replacement-plugin/). There are multiple ways to achieve this.\n\nIf you're using webpack-dev-server, you can just pass it the [`hot` option](https://webpack.js.org/configuration/dev-server/#devserverhot) to add the plugin automatically.\n\nOtherwise, you can add it to your webpack config directly:\n\n```js\nconst webpack = require('webpack');\n\nmodule.exports = {\n  ...\n  plugins: [\n    new webpack.HotModuleReplacementPlugin(),\n    ...\n  ]\n}\n```\n","_id":"svelte-loader-hot@0.0.1-1","dist":{"shasum":"4442076df3471675517fe3f25c253509ad8e8dd4","tarball":"https://registry.npmjs.org/svelte-loader-hot/-/svelte-loader-hot-0.0.1-1.tgz","integrity":"sha512-X/vV7CDMmt7vmvoElVrE0JQnAsRCHkQm+cghLgqRw1NHMJKMWAqzGnjzt4aU/TvvIgwUnUxew0z69wDwz36/DA==","fileCount":26,"unpackedSize":77736,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdzt5RCRA9TVsSAnZWagAAjBQP/i/pmDDm3hsrQvvU+Sya\n2JXFZbYtBmlzZp2DqOItMp/r5KcPv2AH6lsJuYDWvhOatwNlZvHJETDjDoqo\nJFgIeKdqgkTI0mShm3pi3UmUk5kisbTSAtsmmP9ZHrfbyP1oI4t3gObhLYiL\nmPe07vfoi5d58Fg2EI1R7YuTA1ICXi8URAJ+7rvISZYL253K5vUWiIheP0XX\nTjl413LrQdjajLKMG3Gk+v9qYskZFGdMT/cxNZ0H357XRv08q7d1Zt4IcyZ0\nuIdYbA3mHt6+7LzkUeYld5Z7/om1psptkNoIILRYr3KKCFyEKvGiW8s6gWG4\neFCaYW92o+zdr81fXIY8Mcq34O+bghQP7nXfv+91+3ShDk9s+27F6nFhUKgB\nrkDWmIgcuf/dkhwCqDCXD+HWp0Hlr1sqq7EhlRFODcVhKOcyGlFQCjubLkFT\n+dT9mwo5nyhmIOTB/bZy/p+pVc9IIvbJ6tvHvw6/+xbP6GvJwWJJYo4AuJ6n\nOrngvPz8SSada60CNJbeCcsR01kcvdg2xxywbOanMA7ILVb6RnbIlY9phTc6\nxpbUPD11LhhN4/RHfes74YWzBfvyiTXCCz6Gel95AikqJRtluii3RC4Z4HC+\nOMVa5hGXCt+KFd0wRx+7alHfEHbgyuqML74ZCcZnxH9iZDXpjgmqT4Nlyqqp\nnNxW\r\n=k1WX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDUrz43KOPiqtkRUBxOI7Bc8iT9X8ogk2snuYKRs0kBagIhAKOY4FmCDshi0yNmKp+WEVx89VkmXB17ARtu7PzLRbry"}]},"_npmUser":{"name":"rixo","email":"rixo@rixo.fr"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-loader-hot_0.0.1-1_1573838416449_0.8723296134121203"},"_hasShrinkwrap":false},"0.1.0":{"name":"svelte-loader-hot","version":"0.1.0","author":{"name":"Nico Rehwaldt","email":"git_nikku@nixis.de"},"maintainers":[{"name":"rixo","email":"rixo@rixo.fr"}],"description":"Webpack loader for Svelte with HMR support","license":"MIT","keywords":["svelte","sveltejs","webpack-loader","hmr"],"repository":{"type":"git","url":"git@github.com:rixo/svelte-loader-hot.git"},"homepage":"https://github.com/rixo/svelte-loader-hot","bugs":{"url":"https://github.com/rixo/svelte-loader-hot/issues"},"dependencies":{"loader-utils":"^1.1.0","svelte-dev-helper":"^1.1.9","svelte-hmr":"~0.1.0"},"devDependencies":{"chai":"^4.1.2","eslint":"^5.4.0","eslint-plugin-mocha":"^5.2.0","mocha":"^5.2.0","sinon":"^6.1.5","sinon-chai":"^3.2.0","svelte":"3.12"},"peerDependencies":{"svelte":">1.44.0"},"scripts":{"all":"npm run lint && npm run test","test":"mocha --harmony --full-trace --check-leaks","lint":"eslint index.js lib/*.js test/**/*.js"},"_id":"svelte-loader-hot@0.1.0","dist":{"shasum":"d6861b3b12e6435088e1d70129d4c237d50cf2ef","tarball":"https://registry.npmjs.org/svelte-loader-hot/-/svelte-loader-hot-0.1.0.tgz","integrity":"sha512-f6Gp8nYfbYreCMakcfDRoUixoJKKHiPxk6WNGTqAp8n12DOluxzMZKi15JzKBEAsTSGV8JZXuk8TQMKspoqv1w==","fileCount":26,"unpackedSize":77576,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd1zEnCRA9TVsSAnZWagAAIbcP/220QTMMq4hoCliFjvQq\nLFNzZHU8z8FD8sMiK4gIef94ud61tVGz4R6s9ksnX1lr8/BgYi05rIP7nPw4\nIiEXb7oA/mXUOcDhsT9v/gHNlTLI8r5Wj/3hIuDfKBOGd+TAOiivF+tsBHHc\n2wCjHi2j7KGmtCL8hLXLaGegA/12DML8GJGg4fKrqSvRcsaHyLNl4mXCkmjN\nCwhqqKLn3X4oyPsc0z0XARm2L7zBnzfmBT1i4VdLY4+j16Yw3a5lhP3JonSC\nutv7K4fAQApvYOrvokrZ4LudhC6puUJtW5SSk+bRKuzC5Hc9kp5XD3ksImmf\nWH53o0wNnZlNoM4gjY0xrF2eBs7qqmuWumHFlwjbELxWIVWYtNygspRULo/5\nlLQbnovdNtjAS9QDn5q/zgqSi3jMPsmTQdF6S5UCrAvROEUrm7a1ux/aTEJH\naJN563a+jvj/1kYu378VeRsGNjsRlembFA2OMAQ0K/+55ibjibsWlGpjG1Ff\nibejf//qpTvb3jFh5KpOglSMyS35Pv+9paCgTFbs+zJfPYBM6gxdGm2AC1Fs\nieNxB/7xKjinPsA5v0ywJZFnLQNULQixgdimrw6lfWyHP55+C7IF9ixu49dE\nvwxJgCB/OojevzbCWQkfZzsNHNZbUHGe035srK+WYBXH7rBNttMgYrZXSwvh\nv9VH\r\n=6fCY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBmW8Dj/DWjVc8jfETgBAX9vP98dWoVHBtKocT8O6ct3AiBhfj6ajDkExWradEas3zZYJLc42qMvl62zAOmhaEkuuA=="}]},"_npmUser":{"name":"rixo","email":"rixo@rixo.fr"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-loader-hot_0.1.0_1574383911088_0.7253442896101414"},"_hasShrinkwrap":false},"0.1.1-0":{"name":"svelte-loader-hot","version":"0.1.1-0","author":{"name":"Nico Rehwaldt","email":"git_nikku@nixis.de"},"maintainers":[{"name":"rixo","email":"rixo@rixo.fr"}],"description":"Webpack loader for Svelte with HMR support","license":"MIT","keywords":["svelte","sveltejs","webpack-loader","hmr"],"repository":{"type":"git","url":"git@github.com:rixo/svelte-loader-hot.git"},"homepage":"https://github.com/rixo/svelte-loader-hot","bugs":{"url":"https://github.com/rixo/svelte-loader-hot/issues"},"dependencies":{"loader-utils":"^1.1.0","svelte-dev-helper":"^1.1.9","svelte-hmr":"^0.1.3"},"devDependencies":{"chai":"^4.1.2","eslint":"^5.4.0","eslint-plugin-mocha":"^5.2.0","mocha":"^5.2.0","sinon":"^6.1.5","sinon-chai":"^3.2.0","svelte":"3.12"},"peerDependencies":{"svelte":">1.44.0"},"scripts":{"all":"npm run lint && npm run test","test":"mocha --harmony --full-trace --check-leaks","lint":"eslint index.js lib/*.js test/**/*.js"},"readmeFilename":"README.md","readme":"# svelte-loader-hot\n\nThis is a copy of official [svelte-loader](https://github.com/sveltejs/svelte-loader) with added HMR support.\n\nHMR is not officially supported by Svelte 3 yet. Progress can be tracked in [this issue](https://github.com/sveltejs/svelte/issues/3632).\n\nMeanwhile, please report your issues regarding HMR (with Webpack) in this project's [issue tracker](https://github.com/rixo/svelte-loader-hot/issues).\n\n**:warning: Experimental :warning:**\n\nThis HMR implementation relies on Svelte's private & non documented API. This means that it can stop working with any new version of Svelte.\n\n## Templates\n\nTo quickly bootstrap a new project, or for example purpose, you can use the following templates. They are copies of the official templates, with the bare minimum added to support HMR with this plugin.\n\n- [svelte-template-webpack-hot](https://github.com/rixo/svelte-template-webpack-hot): hot version of the official Svelte template for Webpack.\n\n- [sapper-template-hot#webpack](https://github.com/rixo/sapper-template-hot/tree/webpack): Sapper + Webpack template with HMR.\n\n## Installation\n\n```bash\nnpm install --save-dev svelte-loader-hot\n```\n\n## Usage\n\nThis plugin can be used as a drop-in replacement for `svelte-loader`. It aims to remain as close to the official plugin as possible. Please refer to [official docs](https://github.com/sveltejs/svelte-loader) for general usage of the plugin. For HMR specific stuff, see bellow.\n\nConfigure inside your `webpack.config.js`:\n\n```javascript\nmodule.exports = {\n  ...\n  module: {\n    rules: [\n      ...\n      {\n        test: /\\.(html|svelte)$/,\n        exclude: /node_modules/,\n        use: {\n          loader: 'svelte-loader-hot',\n          options: {\n            // NOTE emitCss: true is currently not supported with HMR\n            emitCss: false,\n            // Enable HMR\n            hotReload: true, // Default: false\n            // Extra HMR options\n            hotOptions: {\n              // Do not preserve local state (i.e. non exported `let` variables)\n              // between HMR updates\n              noPreserveState: false, // Default: false\n              // Try to recover from runtime errors happening during reloaded\n              // component init\n              optimistic: true, // Default: false\n            }\n          }\n        }\n      }\n      ...\n    ]\n  },\n  plugins: [\n    new webpack.HotModuleReplacementPlugin(),\n    ...\n  ]\n}\n```\n\nYou also need to add the [HotModuleReplacementPlugin](https://webpack.js.org/plugins/hot-module-replacement-plugin/). There are multiple ways to achieve this.\n\nIf you're using webpack-dev-server, you can just pass it the [`hot` option](https://webpack.js.org/configuration/dev-server/#devserverhot) to add the plugin automatically.\n\nOtherwise, you can add it to your webpack config directly:\n\n```js\nconst webpack = require('webpack');\n\nmodule.exports = {\n  ...\n  plugins: [\n    new webpack.HotModuleReplacementPlugin(),\n    ...\n  ]\n}\n```\n","_id":"svelte-loader-hot@0.1.1-0","dist":{"shasum":"f4600d8c79e675c9c721e237f8f832e4b9411243","tarball":"https://registry.npmjs.org/svelte-loader-hot/-/svelte-loader-hot-0.1.1-0.tgz","integrity":"sha512-idUg05muUCtNNSGSbmkz/hwgkTnQUBbJMKQvOmERd8wD8Mqw2uXa5G3YHBmOzyyDpkotOe2vD87/DJNS7wZL6w==","fileCount":26,"unpackedSize":77758,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeBzMHCRA9TVsSAnZWagAAdf8P/A6EbgAzNtrnUN53cY2s\nQM2sMm6Zm7HtT6G9OU2oaHzwkXdjEADgEzxJjCBlhU7j7F/nQHoiHctHp/2m\nsCE5SKCvXMX1TD72AeIPdUZ2njWiicPP0juYeQiRri+ukdWPWe+WVOYB8HO6\ntfnCOXkhKHyfwpJ4aIYI3QYWdKWGfCt7OTCxOw2s7czagwsJPomZxVqoJamG\ngtRF2+CIaa5wS7wBnIF9Mmwqxn4YyOJuEd5/jMzggdc7WGig8BRJf9leAODn\nsTzMDLWf07pA+S5hBfVyrBw5iPi9S4KOEYYIPPNguHY/FYFFClnUOwXRX5aE\nnb3bfqu8yJWsm8xp+wA2HPjCeBj+6qx3Pbrq+cQ7zsV7CpR7vkx0DiiJfOk4\ncRggRBfgkzWKdphvdycZ4reJHZk8NpOGQKujy5Ty227b2VkojN8XoSuUFrSp\nJZpGbwqz3/E7T5eGsWDhHLjSJ5g5bDGUIqe91x0KTEdkV+Pmjakptp6e269A\npIHVDeK6SodwKANhBJvJcIdMW64+3o6ZzzqEH8oPXNCDl/lwOfY3B57E6qJF\nwDOWv7Aj6MAqSBqXeYj0p5tzVyxuzp9NenefaSYcLQJ+oW5sA0X612ZRsQjH\nuJfJ7NlAF7FdxHYCt1ntgRz4E6sV+fZYyY4GIb2On593IB2B6tcO5LTEVmTJ\nRsfX\r\n=pXo0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDrAeMzQZQDTFmgEfVs8OSFOsSVCZNkUrXQWl2S5hVMjAIgOOTTuBhBv1gFApYqEBKW2j1Evd8WjjweV6dn1BqmOBA="}]},"_npmUser":{"name":"rixo","email":"rixo@rixo.fr"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-loader-hot_0.1.1-0_1577530118812_0.23360137109911294"},"_hasShrinkwrap":false},"0.1.1":{"name":"svelte-loader-hot","version":"0.1.1","author":{"name":"Nico Rehwaldt","email":"git_nikku@nixis.de"},"maintainers":[{"name":"rixo","email":"rixo@rixo.fr"}],"description":"Webpack loader for Svelte with HMR support","license":"MIT","keywords":["svelte","sveltejs","webpack-loader","hmr"],"repository":{"type":"git","url":"git@github.com:rixo/svelte-loader-hot.git"},"homepage":"https://github.com/rixo/svelte-loader-hot","bugs":{"url":"https://github.com/rixo/svelte-loader-hot/issues"},"dependencies":{"loader-utils":"^1.1.0","svelte-dev-helper":"^1.1.9","svelte-hmr":"^0.1.3"},"devDependencies":{"chai":"^4.1.2","eslint":"^5.4.0","eslint-plugin-mocha":"^5.2.0","mocha":"^5.2.0","sinon":"^6.1.5","sinon-chai":"^3.2.0","svelte":"3.12"},"peerDependencies":{"svelte":">1.44.0"},"scripts":{"all":"npm run lint && npm run test","test":"mocha --harmony --full-trace --check-leaks","lint":"eslint index.js lib/*.js test/**/*.js"},"_id":"svelte-loader-hot@0.1.1","dist":{"shasum":"fd921ae67f456daf4e7b5fa9fa307c8c40ed1dbb","tarball":"https://registry.npmjs.org/svelte-loader-hot/-/svelte-loader-hot-0.1.1.tgz","integrity":"sha512-Tzbh98Q0UBZS2ts8T2+V0dES0dlbPhzj33VY3Owj+kRtqvHBaQBJ+zuOtrk1T4X60Qi1LasJZtAsHue+JVBC8w==","fileCount":26,"unpackedSize":77756,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeBzORCRA9TVsSAnZWagAAr4gP+wcM4AskzCOPiGuLnIc2\nI95Ws7tEs6FJwNcvqd37eLZ4xw9oKC1mjmW2TmVofhzYxPNdfK9Y7zOXHGz/\nxOj3+TiAjjqls44aVhnBPLCb6NRVm/Yj/nPjPZGCWDqWOSku1tuykRfmqvNS\nc0/rWV/1OIAOZ1ubiCk0u3j8OehCvQVgGxJHRieuJvmu1Wg8eFV7qkS1LOQy\ngzR9UCffNcAF/1HSJPwvgLz04f4ivAY/GOY2jobz+1kaWE1+V07idRu2smm/\nkLwRiNbXsczTmPcEqW1DIoWOx92AMs3nGUHSYb0EHvPwNd6xeiK0Wic52KCa\nRxVQuwZSrLdERcnB19F9P2sGZzYBbh5DdokLGROoDzERq++8If7OytKeXmZk\nbPNS/IIEJ+ycQrkflP0zWisx392VXbiNIKNZOosvg0daJZHtkmCCUzspFrrN\nSJkdQEqS4UBzoQdPjaMUxZY2EWzOLhXgbrI9gR2unC7pjrEb9p32x04r9nV/\n2pSzrDfE8FG6i2+QB2YKMT4uSvQ0FzwyjNnZ1MvgkOVK/ldxlcKKnV4BawPC\nwABG2qrLcf6ThhBhuzGBGygVRWcaOc1IrSqvtPEAvDam93u5HaYR0cypIWlI\ncdsE3oAarSrVEFrCThxTtzVlatSGIa6Shge2Ab+NVOvJmzg0te7ydqaM5BFG\n2Uge\r\n=LXR6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCB/OqzJ/kjrHd3Jhg8lcFhByKUPYJIdkXOMME42dd1AgIgMyTNBug1QPrl8Yv4il8oc+pywrcsa8gks2mJ1cqNwiE="}]},"_npmUser":{"name":"rixo","email":"rixo@rixo.fr"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-loader-hot_0.1.1_1577530256968_0.17401299295218386"},"_hasShrinkwrap":false},"0.1.2":{"name":"svelte-loader-hot","version":"0.1.2","author":{"name":"Nico Rehwaldt","email":"git_nikku@nixis.de"},"maintainers":[{"name":"rixo","email":"rixo@rixo.fr"}],"description":"Webpack loader for Svelte with HMR support","license":"MIT","keywords":["svelte","sveltejs","webpack-loader","hmr"],"repository":{"type":"git","url":"git@github.com:rixo/svelte-loader-hot.git"},"homepage":"https://github.com/rixo/svelte-loader-hot","bugs":{"url":"https://github.com/rixo/svelte-loader-hot/issues"},"dependencies":{"loader-utils":"^1.1.0","svelte-dev-helper":"^1.1.9","svelte-hmr":"^0.1.4"},"devDependencies":{"chai":"^4.1.2","eslint":"^5.4.0","eslint-plugin-mocha":"^5.2.0","mocha":"^5.2.0","sinon":"^6.1.5","sinon-chai":"^3.2.0","svelte":"3.12"},"peerDependencies":{"svelte":">1.44.0"},"scripts":{"all":"npm run lint && npm run test","test":"mocha --harmony --full-trace --check-leaks","lint":"eslint index.js lib/*.js test/**/*.js"},"_id":"svelte-loader-hot@0.1.2","dist":{"shasum":"2d49faf6390e7ac67173c521424bc241964c36c8","tarball":"https://registry.npmjs.org/svelte-loader-hot/-/svelte-loader-hot-0.1.2.tgz","integrity":"sha512-QKdls+nh5Nh2yK6OI+0WE7fo5xsu02jFrwl1hBA41C8ovMvnLNf90z7MipCPh5cayMHE5t6BwsbMLYCm54IrCQ==","fileCount":26,"unpackedSize":77756,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeLhY1CRA9TVsSAnZWagAAvuAP/02FnXCIceD4X7zF92Ba\n5m4Ysso8n9T+SvWxD47OrVkFERQPRQqd2v/SWq5amliGA5u//wsdJtDlOb4C\nYL//OJKZIfR3jAc4lXriTpaDBrIXAD9osr00dsVM+pag+NKgN9WH7KXRt4D4\nkN6g2B52/8RJgrBuDKexGDIKTqa1WphBX4sthRdx5L7TrjKwg1G41goGURTT\nQrK9mjN7mXZkqnYsEW/E2/jrf3u6aCGlNYGJ8WFloG05QWKkO6xBMCPTK0Fv\n5ufx0rQjlIih9ztF3FgTQCmaHADALJCvnv8Xw9cK/9fve5+PKVsXc4yy4iNu\nXd+8eeEl8iMuOs7is5U0t6Y39ZNoXoR1d83WX7yKmfz1Kn2P3PygjfGxT6X2\n1T2FDuh/9tBCi1w+yQ9THwV/eUqwP4mA8JTQnXea07BFPyLSeSfVVjJA8BXq\nigBIciJZIc8HmeNL1g1PtRGaz7AOV6tPl/lAzw/wSmVkEojbxmq/wDyf8+66\nlQb0jCuyg7jM4avreVky7A9rdA1oeI6HM2oJR4VUPU7o/qo8G94AJT49Ovi7\nB4b8sXhrQZLi3XzQoSghyPrEcO1/s56ixP+hY1X00RcEGtR2KuVdkZAHSjAV\nvJ8ujeuBJLusEf9KQTsSEU/PZ1RMQqzJ34tDJP9u6p1ykaNnTRIuXWTtgUsf\n2lBS\r\n=0yrQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB8wRDhQYSt+L38jnGYhDRsAjBgECoQcv5p6ZT1sNwDBAiEAv/q2VQA9vPwmc1Qlrn2vTRW8IX2Ku05wU3Gd2VyoBPE="}]},"_npmUser":{"name":"rixo","email":"rixo@rixo.fr"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-loader-hot_0.1.2_1580078645349_0.5389285945349254"},"_hasShrinkwrap":false},"0.2.0":{"name":"svelte-loader-hot","version":"0.2.0","author":{"name":"Nico Rehwaldt","email":"git_nikku@nixis.de"},"maintainers":[{"name":"rixo","email":"rixo@rixo.fr"}],"description":"Webpack loader for Svelte with HMR support","license":"MIT","keywords":["svelte","sveltejs","webpack-loader","hmr"],"repository":{"type":"git","url":"git@github.com:rixo/svelte-loader-hot.git"},"homepage":"https://github.com/rixo/svelte-loader-hot","bugs":{"url":"https://github.com/rixo/svelte-loader-hot/issues"},"dependencies":{"loader-utils":"^1.1.0","svelte-dev-helper":"^1.1.9","svelte-hmr":"^0.3.1"},"devDependencies":{"chai":"^4.1.2","eslint":"^5.4.0","eslint-plugin-mocha":"^5.2.0","mocha":"^5.2.0","sinon":"^6.1.5","sinon-chai":"^3.2.0","svelte":"3.12"},"peerDependencies":{"svelte":">1.44.0"},"scripts":{"all":"npm run lint && npm run test","test":"mocha --harmony --full-trace --check-leaks","lint":"eslint index.js lib/*.js test/**/*.js"},"_id":"svelte-loader-hot@0.2.0","dist":{"shasum":"a3fb4b51d5ad7fddc95499dde93d0e65d753d009","tarball":"https://registry.npmjs.org/svelte-loader-hot/-/svelte-loader-hot-0.2.0.tgz","integrity":"sha512-wMfU6wnC75iIybsq18ka/gwWaf8soZ9vfSwVZwDd/aXm7lmI+/Uwz70HPKs6hTOuwdd9KfEQegqGIjJoxLihZw==","fileCount":26,"unpackedSize":78005,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeV8sHCRA9TVsSAnZWagAAUfkQAJken3icim9csY9qZmaP\n415rxKWpbPy0exPJVaTEl/mDmJmIFMUbwvUD1kcrQw1nvO6tdChLeMbeaW/i\nbiJGCx6qSMI/LAR2+FD7Odm/K24zsXL4tbSKwnmmUhsxeqjRdDN+KwlOHx8V\nScCZjY8Ug36Ft04rpkCvFhQ8VmvZwBYXvPxggimH06LT6dWBzP7zMUvsm6CF\nQ/Tl30mnYPjWnpsl/mp9J1WlPThrJvFeax9iu2C1S4eMdFkyrDGEXllcdXDC\n4CgyG+LocM5UUnuhHG8kuutxOQ4yRTKNRakYpu6zFRxNLvFrxYBlKDLDhrr1\nlGUoLpULt/om1dX+JZ7v2pM8T9zoAO6/Z0winOf2aTgZmfO4Idv1bz6QnMg/\npVhdaHuVpLuMwGKF2ws7jE6YdbyJr5FmJThWrgRCR6xwzh2GWy74pD+j6zN8\nmSQJtQ2IhQBDozGDFok7Ght3UrGSz4r88Pt6n+8pgmDAarFh30LcBGqZvM7O\noOOUpjJZkQiYngtYYOYfdyencFgHru0Da9ayIWzEmDY+g8GP57HRZ9GC+U7l\n+7jR9ShkHPlcrTgDHb13/SMzs1SKzGjmNXohOCABcleoG478RfCK27qyx7F5\nc2sQb3oBpSnuG6y2EipBpXFmn28/IVRnF0UIdfHHlrsaH3IUStKNAqSAYDxw\nVzzq\r\n=5IJH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCEN4wDI8oXf2cIenvtLV5C4ZmXE+MBc+jBMbAcfM5PUAIgZcEPJ9vhzNJ1XZw6mTb2SSCwdDHa24fqwk+yLAqWtvw="}]},"_npmUser":{"name":"rixo","email":"rixo@rixo.fr"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-loader-hot_0.2.0_1582811910723_0.621103057574667"},"_hasShrinkwrap":false},"0.2.1":{"name":"svelte-loader-hot","version":"0.2.1","author":{"name":"Nico Rehwaldt","email":"git_nikku@nixis.de"},"maintainers":[{"name":"rixo","email":"rixo@rixo.fr"}],"description":"Webpack loader for Svelte with HMR support","license":"MIT","keywords":["svelte","sveltejs","webpack-loader","hmr"],"repository":{"type":"git","url":"git@github.com:rixo/svelte-loader-hot.git"},"homepage":"https://github.com/rixo/svelte-loader-hot","bugs":{"url":"https://github.com/rixo/svelte-loader-hot/issues"},"dependencies":{"loader-utils":"^1.1.0","svelte-dev-helper":"^1.1.9","svelte-hmr":"^0.3.1"},"devDependencies":{"chai":"^4.1.2","eslint":"^5.4.0","eslint-plugin-mocha":"^5.2.0","mocha":"^5.2.0","sinon":"^6.1.5","sinon-chai":"^3.2.0","svelte":"3.12"},"peerDependencies":{"svelte":">1.44.0"},"scripts":{"all":"npm run lint && npm run test","test":"mocha --harmony --full-trace --check-leaks","lint":"eslint index.js lib/*.js test/**/*.js"},"_id":"svelte-loader-hot@0.2.1","dist":{"shasum":"7b72a18cddde5c6e1cf9f3662dcbb45ebc6bc799","tarball":"https://registry.npmjs.org/svelte-loader-hot/-/svelte-loader-hot-0.2.1.tgz","integrity":"sha512-1bw+46GP2e9CgSoLIrPc/xN7GiTzsB/AfVLBQQzRtNKqRlMkxvYyf2y+aNBp5ZwhAlJT0QkbpzIxNNixxFc8Jg==","fileCount":26,"unpackedSize":79359,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeV8ycCRA9TVsSAnZWagAAg+4P/A3cc6wE5BFJIwrNL6Ly\nDbdukC0IA/G914oSZLp9Zv0w1/jHZLWmwIVJcW/+qkKCfCq9IumVK75Gq65f\nN/hn38o8Dk4tgsUPh/4Z+zOm8WF+NlzVlYvCUH4NiX/l4OeH6lG0qdaScogd\nqiRZkkcd4aQssSfwHpOqni4o3oZvHUbVtSnWD/GafgjsMnot8I1g8i5lrjOD\nECZEwg/tnVv9990ezsHDtSnBtKFyDqMe059VXTYQ6nyn+z7g+cqIKs0mw/IR\nMv34J5pUdE5yWen5HX56AqRUxgKa3PUyczcK/UuZ3k7LiYYUjC7V9t+0/6AH\nM3bjSiL2SUWPeduomS3IKnxoHlT4V+1skbQEBFzx5VCg5pPYmRxh1p7QDHWA\n7IemM3X4h8V3n30g96rPEBAYbKOt50aGClmtWa2z0SoRJVOVFtmmWNDmNc/r\nJtGSnmsDw4FKskh/OJ6hGMKEhykKBP8ymHuu6VuX8mndDEp/CL7FwhqhkLfN\nNdriVtR6zyotQ5NTBDo7kyPFLjmHjjAm6oIEaKvtGpYFaX+nT5BS0uQ+nMtu\nFaNn4jQjTTcWJJV6sRW8dZOdP4lwr8ApE4lv2BAO3gYdfNdBF4Xnn2ozZQKt\nyMXNRSnuhKd8JFQyltMUaIutc88ccZao5Rp+0q4EnExDZa6K2Ro2x1Y3q/Lh\nAqa4\r\n=AuT+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID6cCoj+trlct4goC2goeMh6go8tPABCtF0VfrFvqV/7AiEA/EM9u86fx8JC+J06aUKQqxWLZsgxrDHjeUV9t4lk+go="}]},"_npmUser":{"name":"rixo","email":"rixo@rixo.fr"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-loader-hot_0.2.1_1582812316429_0.16327560604799385"},"_hasShrinkwrap":false},"0.3.0":{"name":"svelte-loader-hot","version":"0.3.0","author":{"name":"Nico Rehwaldt","email":"git_nikku@nixis.de"},"maintainers":[{"name":"rixo","email":"rixo@rixo.fr"}],"description":"Webpack loader for Svelte with HMR support","license":"MIT","keywords":["svelte","sveltejs","webpack-loader","hmr"],"repository":{"type":"git","url":"git@github.com:rixo/svelte-loader-hot.git"},"homepage":"https://github.com/rixo/svelte-loader-hot","bugs":{"url":"https://github.com/rixo/svelte-loader-hot/issues"},"dependencies":{"loader-utils":"^1.1.0","svelte-dev-helper":"^1.1.9","svelte-hmr":"^0.5.0"},"devDependencies":{"chai":"^4.1.2","eslint":"^5.4.0","eslint-plugin-mocha":"^5.2.0","mocha":"^5.2.0","sinon":"^6.1.5","sinon-chai":"^3.2.0","svelte":"^3.19.1"},"peerDependencies":{"svelte":">1.44.0"},"scripts":{"all":"npm run lint && npm run test","test":"mocha --harmony --full-trace --check-leaks","lint":"eslint index.js lib/*.js test/**/*.js"},"_id":"svelte-loader-hot@0.3.0","dist":{"shasum":"aa8903181a2809790aa1630a8387a2a8fe27bfca","tarball":"https://registry.npmjs.org/svelte-loader-hot/-/svelte-loader-hot-0.3.0.tgz","integrity":"sha512-F0vy9XoH63sJLCycetzQhjEJQnMiV1Wpo3q7yRfGOQZIwd8Cz61+hXk0FIdbqkLsHVIg5GJgH3Dv0PB4MoCBMA==","fileCount":26,"unpackedSize":78915,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeWTLyCRA9TVsSAnZWagAAwOsP/1mjtuOGe4VYobeCYTCf\nB7L7JkGbpUhINGiRYtpq0fAAmNcvf9TyftyY+bbz9ttNwg2v7xdtiiPMeYN4\n7lMKfAXxhZxfItmhM26EEcdhlv2TZsyJHRxatAvxFv2lujlcOcdkeiJVdcjc\neHy9xl732veU055WLu0+n8DdMxtKENUz+H8zE8z4JNxlUr4bc/H59QUbJOlM\nXLY22meMRKbSs84LHB0OCIbKk8S5KYRShh9PdRhg+6ZXG1X8KC+v+zc8n1y8\nw7h0f4+qCc1Ea9XVagTB99vrPWERlsFXdM2AIWMrYFSFl0yHlsPf+NIz1k49\nTjv5f0rLJIMoG1meSBv/1gEW5At6t2zZTAfzhOTTBwV7NWYD/Dgdw5W4XQHp\nQMVpuK0v6GIJLRmL24ZuoYzUNMBqOV3r0axPMjtU769NjAjs12UBerdHZSo/\ntC5DrzvKwTEGSzihZglWm8eME5Np14i37FGZURDUR3x+FvlmHdKT4EFqP+bx\ntLIm52YcyIf+/Eq+ahp9o2Gd8Emms/y0lnzu6wIsRYzRKGEz44+Tm2QwRlTe\nZJukhwvLiluz1QHQ7Zv0pO1Q7n4slcStWKKCX9xh9YCMkEcFE3YGGaFfImKW\nRoyrTztVgfK+sN9r8oOxM2+H7Y/g+m2IUZrmAHUBy2oKmpwHN7N9ByRx3Srj\nUq0M\r\n=O9jS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCiREUSe7nhiFrmTF6AObWbk0lqxFNEqDYjRdW0JxIc0QIhAP2pPLi9/zuGNX0+hwz18l840oXbEJeZbpzDtvubBazg"}]},"_npmUser":{"name":"rixo","email":"rixo@rixo.fr"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-loader-hot_0.3.0_1582904049922_0.6430712589356034"},"_hasShrinkwrap":false},"0.3.1-0":{"name":"svelte-loader-hot","version":"0.3.1-0","author":{"name":"Nico Rehwaldt","email":"git_nikku@nixis.de"},"maintainers":[{"name":"rixo","email":"rixo@rixo.fr"}],"description":"Webpack loader for Svelte with HMR support","license":"MIT","keywords":["svelte","sveltejs","webpack-loader","hmr"],"repository":{"type":"git","url":"git@github.com:rixo/svelte-loader-hot.git"},"homepage":"https://github.com/rixo/svelte-loader-hot","bugs":{"url":"https://github.com/rixo/svelte-loader-hot/issues"},"dependencies":{"loader-utils":"^1.1.0","svelte-dev-helper":"^1.1.9","svelte-hmr":"^0.6.0-0"},"devDependencies":{"chai":"^4.1.2","eslint":"^5.4.0","eslint-plugin-mocha":"^5.2.0","mocha":"^5.2.0","sinon":"^6.1.5","sinon-chai":"^3.2.0","svelte":"^3.19.1"},"peerDependencies":{"svelte":">1.44.0"},"scripts":{"all":"npm run lint && npm run test","test":"mocha --harmony --full-trace --check-leaks","lint":"eslint index.js lib/*.js test/**/*.js"},"readmeFilename":"README.md","readme":"# svelte-loader-hot\n\nThis is a copy of official [svelte-loader](https://github.com/sveltejs/svelte-loader) with added HMR support.\n\nHMR is not officially supported by Svelte 3 yet. Progress can be tracked in [this issue](https://github.com/sveltejs/svelte/issues/3632).\n\nMeanwhile, please report your issues regarding HMR (with Webpack) in this project's [issue tracker](https://github.com/rixo/svelte-loader-hot/issues).\n\n**:warning: Experimental :warning:**\n\nThis HMR implementation relies on Svelte's private & non documented API. This means that it can stop working with any new version of Svelte.\n\n**Update 2020-02-24** We're [making progress](https://github.com/sveltejs/svelte/pull/3822) :)\n\n## Templates\n\nTo quickly bootstrap a new project, or for example purpose, you can use the following templates. They are copies of the official templates, with the bare minimum added to support HMR with this plugin.\n\n- [svelte-template-webpack-hot](https://github.com/rixo/svelte-template-webpack-hot): hot version of the official Svelte template for Webpack.\n\n- [sapper-template-hot#webpack](https://github.com/rixo/sapper-template-hot/tree/webpack): Sapper + Webpack template with HMR.\n\n## Installation\n\n```bash\nnpm install --save-dev svelte-loader-hot\n```\n\n## Usage\n\nThis plugin can be used as a drop-in replacement for `svelte-loader`. It aims to remain as close to the official plugin as possible. Please refer to [official docs](https://github.com/sveltejs/svelte-loader) for general usage of the plugin. For HMR specific stuff, see bellow.\n\nConfigure inside your `webpack.config.js`:\n\n```javascript\nmodule.exports = {\n  ...\n  module: {\n    rules: [\n      ...\n      {\n        test: /\\.(html|svelte)$/,\n        exclude: /node_modules/,\n        use: {\n          loader: 'svelte-loader-hot',\n          options: {\n            // NOTE emitCss: true is currently not supported with HMR\n            emitCss: false,\n            // Enable HMR\n            hotReload: true, // Default: false\n            // Extra HMR options\n            hotOptions: {\n              // Prevent preserving local component state\n              noPreserveState: false,\n\n              // If this string appears anywhere in your component's code, then local\n              // state won't be preserved, even when noPreserveState is false\n              noPreserveStateKey: '@!hmr',\n\n              // Prevent doing a full reload on next HMR update after fatal error\n              noReload: false,\n\n              // Try to recover after runtime errors in component init\n              optimistic: false\n\n              // --- Advanced ---\n\n              // Prevent adding an HMR accept handler to components with \n              // accessors option to true, or to components with named exports\n              // (from <script context=\"module\">). This have the effect of\n              // recreating the consumer of those components, instead of the\n              // component themselves, on HMR updates. This might be needed to\n              // reflect changes to accessors / named exports in the parents,\n              // depending on how you use them.\n              acceptAccessors: true,\n              acceptNamedExports: true,\n            }\n          }\n        }\n      }\n      ...\n    ]\n  },\n  plugins: [\n    new webpack.HotModuleReplacementPlugin(),\n    ...\n  ]\n}\n```\n\nYou also need to add the [HotModuleReplacementPlugin](https://webpack.js.org/plugins/hot-module-replacement-plugin/). There are multiple ways to achieve this.\n\nIf you're using webpack-dev-server, you can just pass it the [`hot` option](https://webpack.js.org/configuration/dev-server/#devserverhot) to add the plugin automatically.\n\nOtherwise, you can add it to your webpack config directly:\n\n```js\nconst webpack = require('webpack');\n\nmodule.exports = {\n  ...\n  plugins: [\n    new webpack.HotModuleReplacementPlugin(),\n    ...\n  ]\n}\n```\n","_id":"svelte-loader-hot@0.3.1-0","dist":{"shasum":"da149c91eee974e546357e6e4d7e41a2b26af9e1","tarball":"https://registry.npmjs.org/svelte-loader-hot/-/svelte-loader-hot-0.3.1-0.tgz","integrity":"sha512-4q6EP3pUM4mKrFjwU4QJkw1Oi19cEu9HNWIEXgfM4VTLog7a3e9grbx13R8sOV4PJhJOQb+XI2BVBsf6SiUGdg==","fileCount":26,"unpackedSize":78919,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeiRDSCRA9TVsSAnZWagAA4msP/iq8ec3uUgu0yr0Bi/lH\nEp93/82WD/Pxc02YV3ijwSNOWezcucNy6GbJ1z3eweQZ4nqiYAq1L2sn6nwA\nGJdDM9q5WmMVTnBSa/KGh4qOxuc+hDj31jJJPJZMgTImW4fxQ8h5AgqB7i9A\nlkbvKAkZKKDMl2xA/jxctr2Zi/i4uhorbIRPOiRMemSqDShUCTymMJ8utQmG\napjS6vC26jJ6pZ8d6051mxQxOonM+KkJfq1cBnLRb3LEuwwJmG8ZNRnVDz23\n7/SIGZixhBWbvXaRWFrBT2byzgaSUdLf4BK742kGLhob+K+g2ljAGFiNeWv9\nGM61OuR1nAetWolRO3wjTVtLICZtkoE3wQWRdGZY0V443N9wseTenoMW8ZZI\ndGE0Pv34rce3YVrgzwinL4vQRKGYnrMZ/G5s6qBw+EL8xx22S3tpHfXOV5Ft\nHmnsh1DsBHkJnY31NoTa2aHMLezVoz5BXw2rO1GCtsb6dmN2SmKZ3z+JcYeG\nJ2mtgdXBKNNHhrI4TXIMWC7dq1XPlucerwtoEbU9it4SZ1GCH4FRX06ItyxK\n6vU1pZDt/q16QfEHlDOi4Pxa8HcypHWeC7AaDSGxI39/oTo+Oh0lJ9g9IzK5\nORKNJib7XhVaQb3o3yCyvkjWu7fmKIVvKS0F6xjvMm74Sb9Pb4BJuq2T6V/S\n8b+7\r\n=E7hv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC48OfS6dNQtsk7uPQ4IeME8RaoeD07EwGklPMQOf/MSAiA34zPhZ5MBrcqDrCnQh2sBXTll9XiO9Yg6B/5S63VTbA=="}]},"_npmUser":{"name":"rixo","email":"rixo@rixo.fr"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-loader-hot_0.3.1-0_1586041042238_0.33224182982670447"},"_hasShrinkwrap":false},"0.3.1-1":{"name":"svelte-loader-hot","version":"0.3.1-1","author":{"name":"Nico Rehwaldt","email":"git_nikku@nixis.de"},"maintainers":[{"name":"rixo","email":"rixo@rixo.fr"}],"description":"Webpack loader for Svelte with HMR support","license":"MIT","keywords":["svelte","sveltejs","webpack-loader","hmr"],"repository":{"type":"git","url":"git@github.com:rixo/svelte-loader-hot.git"},"homepage":"https://github.com/rixo/svelte-loader-hot","bugs":{"url":"https://github.com/rixo/svelte-loader-hot/issues"},"dependencies":{"loader-utils":"^1.1.0","svelte-dev-helper":"^1.1.9","svelte-hmr":"^0.10.3"},"devDependencies":{"chai":"^4.1.2","eslint":"^5.4.0","eslint-plugin-mocha":"^5.2.0","mocha":"^5.2.0","sinon":"^6.1.5","sinon-chai":"^3.2.0","svelte":"^3.19.1"},"peerDependencies":{"svelte":">1.44.0"},"scripts":{"all":"npm run lint && npm run test","test":"mocha --harmony --full-trace --check-leaks","lint":"eslint index.js lib/*.js test/**/*.js"},"readmeFilename":"README.md","readme":"# svelte-loader-hot\n\nThis is a copy of official [svelte-loader](https://github.com/sveltejs/svelte-loader) with added HMR support.\n\nHMR is not officially supported by Svelte 3 yet. Progress can be tracked in [this issue](https://github.com/sveltejs/svelte/issues/3632).\n\nMeanwhile, please report your issues regarding HMR (with Webpack) in this project's [issue tracker](https://github.com/rixo/svelte-loader-hot/issues).\n\n**:warning: Experimental :warning:**\n\nThis HMR implementation relies on Svelte's private & non documented API. This means that it can stop working with any new version of Svelte.\n\n**Update 2020-02-24** We're [making progress](https://github.com/sveltejs/svelte/pull/3822) :)\n\n## Templates\n\nTo quickly bootstrap a new project, or for example purpose, you can use the following templates. They are copies of the official templates, with the bare minimum added to support HMR with this plugin.\n\n- [svelte-template-webpack-hot](https://github.com/rixo/svelte-template-webpack-hot): hot version of the official Svelte template for Webpack.\n\n- [sapper-template-hot#webpack](https://github.com/rixo/sapper-template-hot/tree/webpack): Sapper + Webpack template with HMR.\n\n## Installation\n\n```bash\nnpm install --save-dev svelte-loader-hot\n```\n\n## Usage\n\nThis plugin can be used as a drop-in replacement for `svelte-loader`. It aims to remain as close to the official plugin as possible. Please refer to [official docs](https://github.com/sveltejs/svelte-loader) for general usage of the plugin. For HMR specific stuff, see bellow.\n\nConfigure inside your `webpack.config.js`:\n\n```javascript\nmodule.exports = {\n  ...\n  module: {\n    rules: [\n      ...\n      {\n        test: /\\.(html|svelte)$/,\n        exclude: /node_modules/,\n        use: {\n          loader: 'svelte-loader-hot',\n          options: {\n            // NOTE emitCss: true is currently not supported with HMR\n            emitCss: false,\n            // Enable HMR\n            hotReload: true, // Default: false\n            // Extra HMR options\n            hotOptions: {\n              // Prevent preserving local component state\n              noPreserveState: false,\n\n              // If this string appears anywhere in your component's code, then local\n              // state won't be preserved, even when noPreserveState is false\n              noPreserveStateKey: '@!hmr',\n\n              // Prevent doing a full reload on next HMR update after fatal error\n              noReload: false,\n\n              // Try to recover after runtime errors in component init\n              optimistic: false\n\n              // --- Advanced ---\n\n              // Prevent adding an HMR accept handler to components with \n              // accessors option to true, or to components with named exports\n              // (from <script context=\"module\">). This have the effect of\n              // recreating the consumer of those components, instead of the\n              // component themselves, on HMR updates. This might be needed to\n              // reflect changes to accessors / named exports in the parents,\n              // depending on how you use them.\n              acceptAccessors: true,\n              acceptNamedExports: true,\n            }\n          }\n        }\n      }\n      ...\n    ]\n  },\n  plugins: [\n    new webpack.HotModuleReplacementPlugin(),\n    ...\n  ]\n}\n```\n\nYou also need to add the [HotModuleReplacementPlugin](https://webpack.js.org/plugins/hot-module-replacement-plugin/). There are multiple ways to achieve this.\n\nIf you're using webpack-dev-server, you can just pass it the [`hot` option](https://webpack.js.org/configuration/dev-server/#devserverhot) to add the plugin automatically.\n\nOtherwise, you can add it to your webpack config directly:\n\n```js\nconst webpack = require('webpack');\n\nmodule.exports = {\n  ...\n  plugins: [\n    new webpack.HotModuleReplacementPlugin(),\n    ...\n  ]\n}\n```\n","_id":"svelte-loader-hot@0.3.1-1","dist":{"shasum":"87145f6f71c1253343f02979c24ecefafac35a67","integrity":"sha512-1/+YwKGgqfusUCaO1DBTFGemy5NgQ4OiauZOWbEg1kFEhQeaXiQ5L97+oQkCvyw4A7EWm0WVSGSTT3nm1L3KGQ==","tarball":"https://registry.npmjs.org/svelte-loader-hot/-/svelte-loader-hot-0.3.1-1.tgz","fileCount":15,"unpackedSize":22950,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfQ+GYCRA9TVsSAnZWagAApqIQAJJShze5/wAlS49sNJhh\nX3GlBIv7Wola89imxD54Mb0UMYSzdJD7vQDmoS8an6JfCTVPvqAKUDNIwGUi\nFmXjGXrMpKWq42kYlMpIF9mPrS6DRGSiyluQM6Az0ZNiyujVbwg7QobcEZGL\nUGGpmiuRQ/R2ZJKZm6gQb5WN0CytpPQX+t9c6HVXwPV4EpN9yKvuPoiihHl4\nMLuOi05ooJZoJDTzO3PiN0wucgcEqHC+p227Ko/2mCBKhrDI+jO99reJyVfl\n2GEfhmUgRaUZXWr3vycUO9CbCkcNzELcRZjRhgSd09DMnX8rM8Dvvk00eydY\n+oU1ALRWYKuwCka0ONlJCcuVTQpAEvFNc3e+w9SwIQKtgVd8OG/+Ppn9GL1Q\nUqMadEDepr7yVWCnQEOQe7CaXlQ6/LaXgAi7NCNjNJEMddZ4cm5ZM4Bkfm1J\n71L+eTGFBkLUwOKEc3I5wruPGzuHivDS/LgXcYIUktjirjTogjNX7powiZS/\nomakpET6KiJIlj7lc0Yclt2jJ3aM7a1VINR0e7kHDU3eXR1Y632kY806S4Cc\nY02sh4LfzPemtTIR0QBRXlXNxM3pVTbwsELwXWuun5zVVreA1vcdO/CD9sj3\nVvsgc7yqNpYpulwEtgCAFh5wV/fydkcE0YyTGVlxoSRu0zj/u2AV8MYoHf8H\n+nMj\r\n=mWgF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDD96KEopDOcst6E22NPeGwPIdtIV/QFQ/xMqDLxhvAXQIgLGIl/++hU6GDlMSCH+r9jwBekHLLe2IyT08XxlHZRRA="}]},"_npmUser":{"name":"rixo","email":"rixo@rixo.fr"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-loader-hot_0.3.1-1_1598284183902_0.4357526168666217"},"_hasShrinkwrap":false},"0.3.1":{"name":"svelte-loader-hot","version":"0.3.1","author":{"name":"Nico Rehwaldt","email":"git_nikku@nixis.de"},"maintainers":[{"name":"rixo","email":"rixo@rixo.fr"}],"description":"Webpack loader for Svelte with HMR support","license":"MIT","keywords":["svelte","sveltejs","webpack-loader","hmr"],"repository":{"type":"git","url":"git@github.com:rixo/svelte-loader-hot.git"},"homepage":"https://github.com/rixo/svelte-loader-hot","bugs":{"url":"https://github.com/rixo/svelte-loader-hot/issues"},"dependencies":{"loader-utils":"^1.1.0","svelte-dev-helper":"^1.1.9","svelte-hmr":"^0.10.3"},"devDependencies":{"chai":"^4.1.2","eslint":"^5.4.0","eslint-plugin-mocha":"^5.2.0","mocha":"^5.2.0","sinon":"^6.1.5","sinon-chai":"^3.2.0","svelte":"^3.19.1"},"peerDependencies":{"svelte":">1.44.0"},"scripts":{"all":"npm run lint && npm run test","test":"mocha --harmony --full-trace --check-leaks","lint":"eslint index.js lib/*.js test/**/*.js"},"_id":"svelte-loader-hot@0.3.1","dist":{"shasum":"0462fe9e1f47feec121ba311811ba5fdc7878b48","integrity":"sha512-0Derrs0jQmdNhEN3vYztamV3aMjJoMvqfIsm+/JcEIF+oULZGDU7Ca/eVdMMEKGNpNwEQwZM+HQPfkoLzfV00Q==","tarball":"https://registry.npmjs.org/svelte-loader-hot/-/svelte-loader-hot-0.3.1.tgz","fileCount":15,"unpackedSize":22948,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfRBcECRA9TVsSAnZWagAA+GgP/34K9VxbPpS+LMlqXVB1\nJtv6wTqnClkE7GRKU4B5GIIScXAwTdyOqR2b7IFt4qUcbsXT/dPUyTgd57iI\neh/PsWqG84J2kbh8uOTl8gA518I3BLnZyRXog5/o0VHyqpbSd+MtwV01/Dt4\nVXELev4MZpS2I53HHZs7hv5aRNBFx1YANTmyreDlYefRItnbTv6lKnn5smlT\nRvrOPSKj8fon2eqcoMn2amjAISLSrjwLtfs7mB2cp6nISLRMTJDDIHW17FOe\nsCCpTQxSIQ0GNLVZ684K1/buIJKDPP2BbwhFSQFtCRVa3gDYiC3YoW3rT4sm\nur51YOhF/9gjREmEe4tsNa4MNSrXoxEMnyzTtiQFZLEaNygLDfn6E5htApBw\nIu7hUeEnVN6W+xdDPpFbtT0oA5g9fHiFt+YL5AeO1EtjY5oWo+7UuIXEmBVh\ncdCrwFcyZJM0ATPwGcfHGFDSSkXOwMcvXlvBNl5B+PTQsIwZsKyvBgsD4ZZW\nP+Y9mt4uUG0cMAKQwqqChBf64Uhk8rbMK9KO8heKfmiLALz7px+zTSA0qney\nvcWEBEgP3C7bwborMUSKgQ3H+0/q3mY6zGA72lmfSUr6WC6oqwoC4WfKZdL2\nJi70y45fH6ttDj9zUDAAvh7JIgYgI8QWrr1dR//T2FOqMjH6exxktbGUi/oQ\nvzXW\r\n=UuKq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCW666bnJKw3IIBuJWVawCdIuu5o3juMwCT8j8LhYFCtwIgL6DdvIafkYHFAp3/5Lrbz9a/yW2KXzdtXkrjULKF6lQ="}]},"_npmUser":{"name":"rixo","email":"rixo@rixo.fr"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-loader-hot_0.3.1_1598297860054_0.15848075078334567"},"_hasShrinkwrap":false}},"time":{"created":"2019-11-15T17:19:12.657Z","0.0.1-0":"2019-11-15T17:19:12.859Z","modified":"2022-05-19T02:53:05.428Z","0.0.1-1":"2019-11-15T17:20:16.678Z","0.1.0":"2019-11-22T00:51:51.268Z","0.1.1-0":"2019-12-28T10:48:38.974Z","0.1.1":"2019-12-28T10:50:57.113Z","0.1.2":"2020-01-26T22:44:05.467Z","0.2.0":"2020-02-27T13:58:30.854Z","0.2.1":"2020-02-27T14:05:16.542Z","0.3.0":"2020-02-28T15:34:10.096Z","0.3.1-0":"2020-04-04T22:57:22.383Z","0.3.1-1":"2020-08-24T15:49:44.026Z","0.3.1":"2020-08-24T19:37:40.168Z"},"maintainers":[{"name":"rixo","email":"rixo@rixo.fr"}],"description":"Webpack loader for Svelte with HMR support","homepage":"https://github.com/rixo/svelte-loader-hot","keywords":["svelte","sveltejs","webpack-loader","hmr"],"repository":{"type":"git","url":"git@github.com:rixo/svelte-loader-hot.git"},"author":{"name":"Nico Rehwaldt","email":"git_nikku@nixis.de"},"bugs":{"url":"https://github.com/rixo/svelte-loader-hot/issues"},"license":"MIT","readme":"# svelte-loader-hot\n\nThis is a copy of official [svelte-loader](https://github.com/sveltejs/svelte-loader) with added HMR support.\n\nHMR is not officially supported by Svelte 3 yet. Progress can be tracked in [this issue](https://github.com/sveltejs/svelte/issues/3632).\n\nMeanwhile, please report your issues regarding HMR (with Webpack) in this project's [issue tracker](https://github.com/rixo/svelte-loader-hot/issues).\n\n**:warning: Experimental :warning:**\n\nThis HMR implementation relies on Svelte's private & non documented API. This means that it can stop working with any new version of Svelte.\n\n**Update 2020-02-24** We're [making progress](https://github.com/sveltejs/svelte/pull/3822) :)\n\n## Templates\n\nTo quickly bootstrap a new project, or for example purpose, you can use the following templates. They are copies of the official templates, with the bare minimum added to support HMR with this plugin.\n\n- [svelte-template-webpack-hot](https://github.com/rixo/svelte-template-webpack-hot): hot version of the official Svelte template for Webpack.\n\n- [sapper-template-hot#webpack](https://github.com/rixo/sapper-template-hot/tree/webpack): Sapper + Webpack template with HMR.\n\n## Installation\n\n```bash\nnpm install --save-dev svelte-loader-hot\n```\n\n## Usage\n\nThis plugin can be used as a drop-in replacement for `svelte-loader`. It aims to remain as close to the official plugin as possible. Please refer to [official docs](https://github.com/sveltejs/svelte-loader) for general usage of the plugin. For HMR specific stuff, see bellow.\n\nConfigure inside your `webpack.config.js`:\n\n```javascript\nmodule.exports = {\n  ...\n  module: {\n    rules: [\n      ...\n      {\n        test: /\\.(html|svelte)$/,\n        exclude: /node_modules/,\n        use: {\n          loader: 'svelte-loader-hot',\n          options: {\n            // NOTE emitCss: true is currently not supported with HMR\n            emitCss: false,\n            // Enable HMR\n            hotReload: true, // Default: false\n            // Extra HMR options\n            hotOptions: {\n              // Prevent preserving local component state\n              noPreserveState: false,\n\n              // If this string appears anywhere in your component's code, then local\n              // state won't be preserved, even when noPreserveState is false\n              noPreserveStateKey: '@!hmr',\n\n              // Prevent doing a full reload on next HMR update after fatal error\n              noReload: false,\n\n              // Try to recover after runtime errors in component init\n              optimistic: false\n\n              // --- Advanced ---\n\n              // Prevent adding an HMR accept handler to components with \n              // accessors option to true, or to components with named exports\n              // (from <script context=\"module\">). This have the effect of\n              // recreating the consumer of those components, instead of the\n              // component themselves, on HMR updates. This might be needed to\n              // reflect changes to accessors / named exports in the parents,\n              // depending on how you use them.\n              acceptAccessors: true,\n              acceptNamedExports: true,\n            }\n          }\n        }\n      }\n      ...\n    ]\n  },\n  plugins: [\n    new webpack.HotModuleReplacementPlugin(),\n    ...\n  ]\n}\n```\n\nYou also need to add the [HotModuleReplacementPlugin](https://webpack.js.org/plugins/hot-module-replacement-plugin/). There are multiple ways to achieve this.\n\nIf you're using webpack-dev-server, you can just pass it the [`hot` option](https://webpack.js.org/configuration/dev-server/#devserverhot) to add the plugin automatically.\n\nOtherwise, you can add it to your webpack config directly:\n\n```js\nconst webpack = require('webpack');\n\nmodule.exports = {\n  ...\n  plugins: [\n    new webpack.HotModuleReplacementPlugin(),\n    ...\n  ]\n}\n```\n","readmeFilename":"README.md"}