{"_id":"@axel669/rollup-copy-static","_rev":"4-accf2e2dca33cc00ce7723e0e6afb66c","name":"@axel669/rollup-copy-static","description":"Small plugin to copy static files when building with rollup.","dist-tags":{"latest":"0.2.0","beta":"0.2.0-beta.0"},"versions":{"0.1.0":{"name":"@axel669/rollup-copy-static","version":"0.1.0","author":{},"license":"MIT","_id":"@axel669/rollup-copy-static@0.1.0","maintainers":[{"name":"axel669","email":"axel@axel669.net"}],"homepage":"https://github.com/axel669/rollup-copy-static#readme","bugs":{"url":"https://github.com/axel669/rollup-copy-static/issues"},"dist":{"shasum":"88e29bfbce954c3decb1e3a4689ceec93510a11a","tarball":"https://registry.npmjs.org/@axel669/rollup-copy-static/-/rollup-copy-static-0.1.0.tgz","fileCount":5,"integrity":"sha512-POWoeAQWa8rpkDMJ06gWqzyxp8u/y8yLjAPQfFLx/9I3fKDPtpeu7tuREsjToaOU3JynnRYYW1LhE8v/uxUyiA==","signatures":[{"sig":"MEYCIQDPWyr/szeUA8sx8omNK24iZn8Di/14Fuy6Kgp7L6zhFQIhANi2pPud++qT7p0bG4zVuAmmMWseRbEs4rP62KpL5A2Q","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3388,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjGSHcACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo42w/+LnuOriA1xrCJhrAoNVnErBKy1/mujDZKLmgJxMKjf1bYxAGr\r\nHZfC3c5sepe4IYEYaMuxoLFPAhPAVjGHbWRICzZB7IiOepAF0t65O9d9CgOT\r\nOidhHSjUwIXwdVdy/OoessQlb93GlZM0ywnLjIfxHTSgFXggDCHuKO7sT8dt\r\nNm8kHVmX353XMaq7x6pSj4BrxKw0lNqvcLsW+F3aPmoOGAPW7Oyi9G5DoqMA\r\nq8iBWSUHJRZI8VLc3J1EowwLWd0CE42rWdafJ55qkAKGH8IfBPFHEnzzXjLA\r\nNu3ein+h3rh+1CP4SL+G6xQ9/uU9v9Qji81ZAf81a+DH8Gz1D9xCDGtXLebm\r\n/Ow+RzSbRU2MIVSxo7mfQ+adp7JF8HDiTqU6t7l5DfoMwJkHIbcjlqxPYwVB\r\nFZQ59YVjHYGe1dP5x4U20VUB6cPdoNCc2bbOHpPqceTPGpVOJJHD9+Tj6EwL\r\n930L23xl2TKZvDEBBDqzcv13s8obx3OrOQC0GMUJUQNp/AEMLUS5ZLdXvVRw\r\nqLk6j2XzO4eOpWb2ZFgaqiP1E2vGD2dv+jfOD5X2Gmq5fcgWnAG422fYDIF9\r\naQffcl0ybpaZMrhP+X21jk4NbGzPdaSC/2CJrQ8tqFTaz5+yaqTdrjW4e5NG\r\nUcBuL3TM7pa8oSXXd1TohmJc9D3FEZJ7x70=\r\n=R8hg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","scripts":{"test":"cd test && rollup -c"},"_npmUser":{"name":"axel669","email":"axel@axel669.net"},"repository":{"url":"git+https://github.com/axel669/rollup-copy-static.git","type":"git"},"description":"Small plugin to copy static files when building with rollup.","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2022 Chris Morgan\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","dependencies":{"fast-glob":"^3.2.11","fs-jetpack":"^4.3.1"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^2.79.0"},"_npmOperationalInternal":{"tmp":"tmp/rollup-copy-static_0.1.0_1662591452756_0.27968177137153827","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"@axel669/rollup-copy-static","version":"0.1.1","author":{},"license":"MIT","_id":"@axel669/rollup-copy-static@0.1.1","maintainers":[{"name":"axel669","email":"axel@axel669.net"}],"homepage":"https://github.com/axel669/rollup-copy-static#readme","bugs":{"url":"https://github.com/axel669/rollup-copy-static/issues"},"dist":{"shasum":"166b457a0282c3f73ff300e256e3ff12613ce95d","tarball":"https://registry.npmjs.org/@axel669/rollup-copy-static/-/rollup-copy-static-0.1.1.tgz","fileCount":5,"integrity":"sha512-OyvMyjml9V+szas9LXX6a6QiCGTU1ddEIxwTcccA2R/S/2podZEd89cV3XaSvjaxWA8t+ZOdsJr5YezSI7aJMQ==","signatures":[{"sig":"MEQCIBcSfEvHrO3oNHqfC1G1uujlgAoSyDUSAYfwFoSa3UDsAiARECqnXdI1WWmyY9idn/5CRkNcYdycIlwnF0DtcX5ySA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3387,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjGSJPACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqY9A//YiXqNJX1YwEuQ43dSrkoZvwF+8PqhiRLReC4fsT+bviS72D7\r\n+yJGpEf1blmkXNpW3fYlxKnCdZ59Tn9h+V5zThHQP2oI/5w/Bl3C0EJ7Hf19\r\n01pegdfMpnKcyKDsXh0ov1eiUiXCUWidL7DgIKCNFZ0x01r7xWOay8Ofs682\r\nWdANi6FnSNggEr8LneL9QrttXkjGy0qBaYzx15Yeu5bhcFtlOZAib6rIm/kJ\r\nf0uDlXL94iCyjLTkiA1yoR2PNDk/hKS6oYE8IuX0QL5M5CUdXkpKN/yPmNla\r\nZVyXUa4UP5oSV9wlsQPMwjSy8r7dy3HFgWtX1BnoKUHOJn7YxTwCyForLeD2\r\noHAjDmPTTeNF+yU3AjWjJppZdI3B2VEumM21Mrl531RvX+fEjyBIGjacMk9a\r\nblTxxxuoBWLRpnIO9T3aN14auF6kD8Ab1sD1EALv636afz6oBG0NxDIpxgiO\r\njDJGNK9k4cZw5OnrKy0Sz4bLGQhFPbdOoxJ/4H+G9PXyIhUZ8lrh9bf+PuI5\r\nsjYsZCFoD40clqTP6+kOdCERHciA5p+jmfeMI6QJCCJRDpekl9Cr9phByXxf\r\n8nAUG+Sak85sosraO8Y3GEtisuh99UlCFbYtjWhKJSlxW53QeJ7oep6ytibu\r\nI/Bd8g6DKyCgU6+2OIyn36gk50fTZ9yu4rw=\r\n=lkMR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"main.js","scripts":{"test":"cd test && rollup -c"},"_npmUser":{"name":"axel669","email":"axel@axel669.net"},"repository":{"url":"git+https://github.com/axel669/rollup-copy-static.git","type":"git"},"description":"Small plugin to copy static files when building with rollup.","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2022 Chris Morgan\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","dependencies":{"fast-glob":"^3.2.11","fs-jetpack":"^4.3.1"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^2.79.0"},"_npmOperationalInternal":{"tmp":"tmp/rollup-copy-static_0.1.1_1662591567214_0.10505902199084405","host":"s3://npm-registry-packages"}},"0.1.2":{"name":"@axel669/rollup-copy-static","version":"0.1.2","author":{},"license":"MIT","_id":"@axel669/rollup-copy-static@0.1.2","maintainers":[{"name":"axel669","email":"axel@axel669.net"}],"homepage":"https://github.com/axel669/rollup-copy-static#readme","bugs":{"url":"https://github.com/axel669/rollup-copy-static/issues"},"dist":{"shasum":"632dc62829cbbe3056036389274247328bffaf83","tarball":"https://registry.npmjs.org/@axel669/rollup-copy-static/-/rollup-copy-static-0.1.2.tgz","fileCount":5,"integrity":"sha512-UURl7HqUI3lKR1k3JYRIZiBMIUBLmyr/VcLeWXFKqnYDi1RUDj+zlRvkgpA/Yw2xpID/czozm1ZruJDWiPwyog==","signatures":[{"sig":"MEUCIQDhu8WFm1aIZ4oBDbv+oQNtLyewPwONrYonrWDsjSoQowIgMHXKdO6GuhHuoy2qllRwUfs+EeBuwSXGdnS1Bp+8JAM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3389,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjGSPUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrBbRAAjZO6DTv3elMLOrq1MqXUS+4lcAlFLG273Pek/GIGNPWaRdEY\r\nixSRSVpbHUVaLYJwhEgDcuvMzna4tc9/Oc03OeaWjERGl02PcUjzEStefDp1\r\n2eC1ifKJztUNmpdXEPFW48XEHXvvGxkzDR+DMbuKnN3KhOWQi/y7FuSVXaEF\r\nWW73AD0IDwgNWEgLtGMRxKcIoqBfSKg4zOAEevn12NNg8rBvrI7aEtxoejpn\r\nW4l2NMDT8CB08YjnFJciOgzZO6LXVHtzZ9V+vwhGUSmuokB/mH2fU25Pn/qx\r\nuV7yaI5R5dsAVXsKF+AxLXZPNpVNFDlqAJSEJ5StcEvz7iXSJYcjrkq0TQ4j\r\np/wpBETc0ZEyd+Ni2GN2MQDDNeqCYbD4XyESHlTQ0o8ZWncBYOCSx6ytMn9t\r\n9nsCUz01Uzetsf4rG2WnhCv/BEwyypOAnooFlwUyYFrBVTCJxy/V0xjZcoFr\r\njBJNWfE1S5WtGKeK1kD5/VxcmNlhj/4ZqM6UXQvwd19I31Fsp4eGm9wuCstC\r\nTMPLU7Z+4dDZJFlfgE7znZssqxPzBJYcQaYEZg9VqP5KCyevgRx+cPk4CqAZ\r\nb6kRo57mNnVJwTvcjVLb/047r83oH0lNu2y+A1Qn7epQF2V6AUuMym608Db7\r\ng3vlgJNlE4IupoZ37d45voq5RI0s1l1zV1A=\r\n=/jUM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"main.js","scripts":{"test":"cd test && rollup -c"},"_npmUser":{"name":"axel669","email":"axel@axel669.net"},"repository":{"url":"git+https://github.com/axel669/rollup-copy-static.git","type":"git"},"description":"Small plugin to copy static files when building with rollup.","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2022 Chris Morgan\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","dependencies":{"fast-glob":"^3.2.11","fs-jetpack":"^4.3.1"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^2.79.0"},"_npmOperationalInternal":{"tmp":"tmp/rollup-copy-static_0.1.2_1662591956684_0.28942699174335695","host":"s3://npm-registry-packages"}},"0.2.0-beta.0":{"name":"@axel669/rollup-copy-static","version":"0.2.0-beta.0","author":"","license":"MIT","_id":"@axel669/rollup-copy-static@0.2.0-beta.0","maintainers":[{"name":"axel669","email":"axel@axel669.net"}],"homepage":"https://github.com/axel669/plugin.rollup-copy-static#readme","bugs":{"url":"https://github.com/axel669/plugin.rollup-copy-static/issues"},"dist":{"shasum":"22a28057dfe3ba66d7f5206609987b783469f8e4","tarball":"https://registry.npmjs.org/@axel669/rollup-copy-static/-/rollup-copy-static-0.2.0-beta.0.tgz","fileCount":4,"integrity":"sha512-gNBjJOmbUXymGzjaC164ZWJX6Trys2nIEF7zAqvmJctaZN+mHDLUAXGKVKcOj9TiTLh7nIDJX7K4sBlmZw79rA==","signatures":[{"sig":"MEUCIQD1fDouUyPjt+7+9vKOS5DzNVkWLCsb97tzUW/+5v9LwwIgRFMOjKFYRQxDbGV8qMVMn6oZv8Fzq7ab/XsWDnYUK6Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4848},"main":"main.js","type":"module","readme":"# rollup-copy-static\r\nSmall plugin to copy static files when building with rollup.\r\n\r\n## Installation\r\n```bash\r\nyarn add @axel669/rollup-copy-static\r\n```\r\n\r\n## Usage\r\nDefault export is a function that takes any number of sources to copy files\r\nfrom. If an argument is a string, the library globs for `**/*` inside the folder\r\nand copies the files into the output directory. Alternatively an argument can\r\nbe an object with a `glob` property and an optional `dir` property. If the glob\r\nargument is used, any part of the path that is in the blob will be in the\r\nrelative destination path.\r\n\r\n```js\r\nimport copy from \"@axel669/rollup-copy-static\"\r\n\r\nexport default {\r\n    input: \"app/main.mjs\",\r\n    output: {\r\n        file: \"build/app.mjs\",\r\n        format: \"esm\",\r\n    },\r\n    plugins: [\r\n        copy(\r\n            // Same as { glob: \"**/*\", dir: \"static\" }\r\n            // Copies all the files in the static dir and puts them at the top\r\n            // level of the build dir\r\n            \"static\",\r\n            // copies css files in the extra dir into build/extra/*.css\r\n            { glob: \"extra/*.css\" },\r\n            // Copies all js files in the scripts dir into the build dir at\r\n            // the top level\r\n            { glob: \"**/*.js\", dir: \"scripts\" }\r\n        )\r\n    ]\r\n}\r\n```\r\n\r\n### Example\r\nSource Files + example config above\r\n```\r\nsrc\r\n├──┬ app\r\n│  ├─── main.js\r\n├──┬ static\r\n│  ├─── image.jpg\r\n│  └─── banner.png\r\n├──┬ extra\r\n│  ├─── notes.txt\r\n│  └─── styles.css\r\n└──┬ scripts\r\n   ├─── windstorm.js\r\n   └─── libs.json\r\n\r\n\"static\"\r\n    -> [\"image.jpg\", \"banner.jpg\"]\r\n{ glob: \"extra/*.css\" }\r\n    -> [\"extra/styles.css\"]\r\n{ glob: \"**/*.js\", dir: \"scripts\" }\r\n    -> [\"windstorm.js\"]\r\n\r\nbuild\r\n├─── banner.jpg\r\n├──┬ extra\r\n│  ├─── notes.txt\r\n│  └─── styles.css\r\n├─── image.jpg\r\n├─── main.js\r\n├─── windstorm.js\r\n```\r\n\r\n## Credits\r\nBayonetta Image (in test folder):\r\n[Aleksandra Skiba](https://twitter.com/alexineskiba/status/1441433433700552705?s=21)\r\n","gitHead":"74b58e51f4f3dd2006e264d8a8c8952e56519c7f","scripts":{"test":"pnpm -c test test"},"_npmUser":{"name":"axel669","email":"axel@axel669.net"},"repository":{"url":"git+https://github.com/axel669/plugin.rollup-copy-static.git","type":"git"},"_npmVersion":"10.2.3","description":"Small plugin to copy static files when building with rollup.","directories":{},"_nodeVersion":"20.10.0","dependencies":{"fast-glob":"^3.3.2","fs-jetpack":"^5.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/rollup-copy-static_0.2.0-beta.0_1718168041692_0.5092973749653804","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"@axel669/rollup-copy-static","version":"0.2.0","description":"Small plugin to copy static files when building with rollup.","main":"main.js","type":"module","scripts":{"test":"pnpm -c test test"},"repository":{"type":"git","url":"git+https://github.com/axel669/plugin.rollup-copy-static.git"},"author":"","license":"MIT","bugs":{"url":"https://github.com/axel669/plugin.rollup-copy-static/issues"},"homepage":"https://github.com/axel669/plugin.rollup-copy-static#readme","dependencies":{"fast-glob":"^3.3.2","fs-jetpack":"^5.1.0"},"_id":"@axel669/rollup-copy-static@0.2.0","gitHead":"74b58e51f4f3dd2006e264d8a8c8952e56519c7f","_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-ubgU+M93fUehrBksRIvs/EjL77uuVp5LX0Ts/4FiStmRwREgHNY9vsJtwUy+Gf0HyGK6rYXWZeIH9l6Ahdiv8w==","shasum":"7be01fe81ee8970b6057e78ca0cdadc4ac0a6044","tarball":"https://registry.npmjs.org/@axel669/rollup-copy-static/-/rollup-copy-static-0.2.0.tgz","fileCount":4,"unpackedSize":4841,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGVGBgvU59unO+c4N5Ww/Sl0rPqimXu2GRvKR9efbzQuAiEAlAJ/RSPfHaoa1SHRlL7z+nXWZym9nurB5pJAxg4+iVk="}]},"_npmUser":{"name":"axel669","email":"axel@axel669.net"},"directories":{},"maintainers":[{"name":"axel669","email":"axel@axel669.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-copy-static_0.2.0_1718168301348_0.8408682064108155"},"_hasShrinkwrap":false}},"time":{"created":"2022-09-07T22:57:32.688Z","modified":"2024-06-12T04:58:21.698Z","0.1.0":"2022-09-07T22:57:32.900Z","0.1.1":"2022-09-07T22:59:27.383Z","0.1.2":"2022-09-07T23:05:56.966Z","0.2.0-beta.0":"2024-06-12T04:54:01.836Z","0.2.0":"2024-06-12T04:58:21.511Z"},"maintainers":[{"name":"axel669","email":"axel@axel669.net"}],"repository":{"type":"git","url":"git+https://github.com/axel669/plugin.rollup-copy-static.git"},"license":"MIT","homepage":"https://github.com/axel669/plugin.rollup-copy-static#readme","bugs":{"url":"https://github.com/axel669/plugin.rollup-copy-static/issues"},"readme":"# rollup-copy-static\r\nSmall plugin to copy static files when building with rollup.\r\n\r\n## Installation\r\n```bash\r\nyarn add @axel669/rollup-copy-static\r\n```\r\n\r\n## Usage\r\nDefault export is a function that takes any number of sources to copy files\r\nfrom. If an argument is a string, the library globs for `**/*` inside the folder\r\nand copies the files into the output directory. Alternatively an argument can\r\nbe an object with a `glob` property and an optional `dir` property. If the glob\r\nargument is used, any part of the path that is in the blob will be in the\r\nrelative destination path.\r\n\r\n```js\r\nimport copy from \"@axel669/rollup-copy-static\"\r\n\r\nexport default {\r\n    input: \"app/main.mjs\",\r\n    output: {\r\n        file: \"build/app.mjs\",\r\n        format: \"esm\",\r\n    },\r\n    plugins: [\r\n        copy(\r\n            // Same as { glob: \"**/*\", dir: \"static\" }\r\n            // Copies all the files in the static dir and puts them at the top\r\n            // level of the build dir\r\n            \"static\",\r\n            // copies css files in the extra dir into build/extra/*.css\r\n            { glob: \"extra/*.css\" },\r\n            // Copies all js files in the scripts dir into the build dir at\r\n            // the top level\r\n            { glob: \"**/*.js\", dir: \"scripts\" }\r\n        )\r\n    ]\r\n}\r\n```\r\n\r\n### Example\r\nSource Files + example config above\r\n```\r\nsrc\r\n├──┬ app\r\n│  ├─── main.js\r\n├──┬ static\r\n│  ├─── image.jpg\r\n│  └─── banner.png\r\n├──┬ extra\r\n│  ├─── notes.txt\r\n│  └─── styles.css\r\n└──┬ scripts\r\n   ├─── windstorm.js\r\n   └─── libs.json\r\n\r\n\"static\"\r\n    -> [\"image.jpg\", \"banner.jpg\"]\r\n{ glob: \"extra/*.css\" }\r\n    -> [\"extra/styles.css\"]\r\n{ glob: \"**/*.js\", dir: \"scripts\" }\r\n    -> [\"windstorm.js\"]\r\n\r\nbuild\r\n├─── banner.jpg\r\n├──┬ extra\r\n│  ├─── notes.txt\r\n│  └─── styles.css\r\n├─── image.jpg\r\n├─── main.js\r\n├─── windstorm.js\r\n```\r\n\r\n## Credits\r\nBayonetta Image (in test folder):\r\n[Aleksandra Skiba](https://twitter.com/alexineskiba/status/1441433433700552705?s=21)\r\n","readmeFilename":"README.md"}