{"bugs":{"url":"https://github.com/snowpackjs/snowpack/issues"},"dist":{"shasum":"5a026d9efafcf0c03221f9c90532c2e3c7784976","tarball":"https://registry.npmjs.org/@snowpack/plugin-svelte/-/plugin-svelte-3.1.0-pre.7.tgz","fileCount":8,"integrity":"sha512-K45uUZCnoAiRWUschc6rMVI12X9TVykbcwhgLkEjN/mmeTkdx3NtkzvOxu6q+tg1N9/4beYOp2dCR52POh0tXw==","signatures":[{"sig":"MEYCIQC/SP6qD+EFGqm8O5rpB2LhFeGUluLzc/+Jun8LfJCmEQIhANlTjTaajCpcg6d3jfYm8p2bATaFPJB+R67neT1U2MUi","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16130,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgOus8CRA9TVsSAnZWagAABo0P/RFdZyi1RnO7JJryMOt3\ntK1D4xW6JiPenKEXmPMlkkVZ53mMqrjDtaV3Wku2HYqqzKqHg32TnVmZtsg1\n0rLsxx7D1BS+CNttmSKz1gp94N4466UbDrnso/imG7p5nCnzkDvGpYln/I5M\nEdC/E8nueEehjTNh9Lk3B9i9nEYqNphloHQf8A4BNZNcdpDUyMzNQhUMrzEt\nb0uDG5ErOVvFvJHmFiLFHV1vsvZoqYncgSsjdhrN8uqe+a1zTBiG7p6Hpi+y\n99Aa2HBj3kPLsfuVXqVgkCglnq7cY1Y/Kb8npVJzBfKPA1PNUwZOrAoStOtn\npYc+v8kl79OXft/TCuZjcfcUlC4GYZQo5AFdYiQ90UyeH3N64agzjrGDvguc\n9l28QJnGwzapfH356HYk2FTc7mVlKswtOEbyAd8JVY5j54KeKVPhRievjYt8\nwNDI+ohSGZJQW4wDPs18UsjsAVDp4AIxN50jKCVuPKsKcBllTSZh4qnAgdW5\nlRyPLpSdeQD4PLEl7WPRgS3Z7dO+aq4DKkEemCQoYVO2nOVJ68F0AKi/Q8SB\nM+lgg2UOB8tGlLv1YBwfZkcj0KOWfIZLOEPma8kF3KtHEdodkphEU8iOKblq\nyj9g8qqn/6TU3PQpvX/J892cbRltxH2aK9Q5tyBwDBaywLRhiwgJnzBK63yU\nyMcl\r\n=mIaO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"plugin.js","name":"@snowpack/plugin-svelte","readme":"# @snowpack/plugin-svelte\n\nUse the [Svelte compiler](https://svelte.dev/docs#Compile_time) to build your `.svelte` files from source. Supports TypeScript and Sass out-of-the-box via [svelte-preprocess](https://github.com/sveltejs/svelte-preprocess).\n\n```\nnpm install --save-dev @snowpack/plugin-svelte\n```\n\n```js\n// snowpack.config.json\n{\n  \"plugins\": [\n    [\"@snowpack/plugin-svelte\", { /* see optional “Plugin Options” below */ }]\n  ]\n}\n```\n\n## Plugin Options\n\nBy default, this plugin will look for a `svelte.config.js` file in your project directory to load `preprocess` and `compilerOptions` configuration from. However, you can also customize Svelte directly via the plugin options below.\n\n| Name              |                                  Type                                  | Description                                                                                                                                                                                                                                                                                                                                                            |\n| :---------------- | :--------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `configFilePath`  |                                `string`                                | Relative path to a Svelte config file. Defaults to load `svelte.config.js` from the current project root directory.                                                                                                                                                                                                                                                    |\n| `input`           |                               `string[]`                               | Array of file extensions to process. Uses `svelte.config.js` `extensions` if available. Defaults to `['.svelte']`.                                                                                                                                                                                                                                                     |\n| `preprocess`      | [svelte.preprocess options](https://svelte.dev/docs#svelte_preprocess) | Configure the Svelte pre-processor. If this option is given, the config file `preprocess` option will be ignored. If any `preprocess` option is set to `false`, preprocessing will be skipped entirely regardless of file content. If no `preprocess` option is given, this plugin defaults to use [svelte-preprocess](https://github.com/sveltejs/svelte-preprocess). |\n| `compilerOptions` |    [svelte.compile options](https://svelte.dev/docs#svelte_compile)    | Configure the Svelte compiler.If this option is given, the config file `preprocess` option will be ignored.                                                                                                                                                                                                                                                            |\n| `hmrOptions`      |    [svelte-hmr options](https://github.com/rixo/svelte-hmr#options)    | Configure HMR & \"fast refresh\" behavior for Svelte.                                                                                                                                                                                                                                                                                                                    |\n","gitHead":"a01616bb0787d56cd782f94cecf2daa12c7594e4","license":"MIT","_npmUser":{"name":"fredkschott","email":"fkschott@gmail.com"},"homepage":"https://github.com/snowpackjs/snowpack/tree/main/plugins/plugin-svelte#readme","repository":{"url":"git+https://github.com/snowpackjs/snowpack.git","type":"git","directory":"plugins/plugin-svelte"},"_npmVersion":"6.14.11","description":"Use the [Svelte compiler](https://svelte.dev/docs#Compile_time) to build your `.svelte` files from source. Supports TypeScript and Sass out-of-the-box via [svelte-preprocess](https://github.com/sveltejs/svelte-preprocess).","directories":{},"maintainers":[{"name":"fredkschott","email":"fkschott@gmail.com"},{"name":"drewpowers","email":"drew@pow.rs"}],"_nodeVersion":"14.15.5","dependencies":{"svelte-hmr":"^0.12.1","svelte-preprocess":"^4.6.0","rollup-plugin-svelte":"^7.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"node-sass":"^5.0.0","svelte-preprocess-sass":"^1.0.0"},"peerDependencies":{"svelte":"^3.21.0"},"_npmOperationalInternal":{"tmp":"tmp/plugin-svelte_3.1.0-pre.7_1614474044278_0.9367806033789494","host":"s3://npm-registry-packages"},"_id":"@snowpack/plugin-svelte@3.1.0-pre.7","version":"3.1.0-pre.7"}