{"_id":"babel-plugin-ignore-html-and-css-imports","_rev":"3-096c988a0b499f012f11f849aaedafc7","name":"babel-plugin-ignore-html-and-css-imports","description":"Ignore html and css imports in your code. Useful for testing meteor without it's context","dist-tags":{"latest":"0.1.0"},"versions":{"0.0.1":{"name":"babel-plugin-ignore-html-and-css-imports","version":"0.0.1","description":"Ignore html and css imports in your code. Useful for testing meteor without it's context","main":"lib/index.js","scripts":{"build":"babel src --out-dir lib --copy-files","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/lgandecki/babel-plugin-ignore-html-and-css-imports.git"},"keywords":["babel-plugin","html","import","string"],"author":{"name":"Łukasz Gandecki"},"license":"MIT","bugs":{"url":"https://github.com/lgandecki/babel-plugin-ignore-html-and-css-importsissues"},"homepage":"https://github.com/lgandecki/babel-plugin-ignore-html-and-css-imports#readme","devDependencies":{"babel-cli":"^6.4.0","babel-preset-es2015":"^6.3.13"},"gitHead":"8831a6b6d3fc26e452af9e2b9f4aa736ebd812c8","_id":"babel-plugin-ignore-html-and-css-imports@0.0.1","_npmVersion":"5.3.0","_nodeVersion":"8.3.0","_npmUser":{"name":"lgandecki","email":"lgandecki@thebrain.pro"},"dist":{"integrity":"sha512-T1evTkH41PtqqQtp7+kLCd3mjukBJrMf2pvNhGPXL6oKSwrBFLvnuenRHZSc9DhHWtMEfPq85H3w3skX9Lf1eA==","shasum":"88f9c350d913f8d95a8cc1a095cb38e01560f0fb","tarball":"https://registry.npmjs.org/babel-plugin-ignore-html-and-css-imports/-/babel-plugin-ignore-html-and-css-imports-0.0.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCLaATdaP4jyI58+at781bHt3/fjPz+xCiwBdd/D32CawIhANB6LyM7uRHcHBKKqz+KGJClhp15gRfb5Ny0erJ4MjXy"}]},"maintainers":[{"name":"lgandecki","email":"lgandecki@thebrain.pro"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-ignore-html-and-css-imports-0.0.1.tgz_1506091868678_0.2483048604335636"},"directories":{}},"0.0.2":{"name":"babel-plugin-ignore-html-and-css-imports","version":"0.0.2","description":"Ignore html and css imports in your code. Useful for testing meteor without it's context","main":"lib/index.js","scripts":{"build":"babel src --out-dir lib --copy-files","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/lgandecki/babel-plugin-ignore-html-and-css-imports.git"},"keywords":["babel-plugin","html","import","string"],"author":{"name":"Łukasz Gandecki"},"license":"MIT","bugs":{"url":"https://github.com/lgandecki/babel-plugin-ignore-html-and-css-importsissues"},"homepage":"https://github.com/lgandecki/babel-plugin-ignore-html-and-css-imports#readme","devDependencies":{"babel-cli":"^6.4.0","babel-preset-es2015":"^6.3.13"},"gitHead":"cd941200d3d40842137c4144db31f28ded5d280c","_id":"babel-plugin-ignore-html-and-css-imports@0.0.2","_npmVersion":"5.3.0","_nodeVersion":"8.3.0","_npmUser":{"name":"lgandecki","email":"lgandecki@thebrain.pro"},"dist":{"integrity":"sha512-7DQb+yqgIQkmw0MOv878CouqicE/eMzlE/GbmKNgoYfnT3WlmGufpBd7uHyXTMg/cYnXWxIbkYrpPJ/IaBnlaw==","shasum":"5cf6685655f54f5fc6c92ab7723c705e02ffdb95","tarball":"https://registry.npmjs.org/babel-plugin-ignore-html-and-css-imports/-/babel-plugin-ignore-html-and-css-imports-0.0.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBt/4y+l2wmxU296p9FuihIxZMRROTqEPBM+9SfbdmX5AiAVISPScELLo8NYGVMteN/2QHAYeZFF/keX26T5loYscQ=="}]},"maintainers":[{"name":"lgandecki","email":"lgandecki@thebrain.pro"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-ignore-html-and-css-imports-0.0.2.tgz_1506091993235_0.6293998442124575"},"directories":{}},"0.1.0":{"name":"babel-plugin-ignore-html-and-css-imports","version":"0.1.0","description":"Ignore html and css imports in your code. Useful for testing meteor without it's context","main":"lib/index.js","scripts":{"test":"jest","semantic-release":"semantic-release"},"repository":{"type":"git","url":"git+https://github.com/lgandecki/babel-plugin-ignore-html-and-css-imports.git"},"keywords":["babel-plugin","html","import","string"],"author":{"name":"Łukasz Gandecki"},"license":"MIT","bugs":{"url":"https://github.com/lgandecki/babel-plugin-ignore-html-and-css-importsissues"},"homepage":"https://github.com/lgandecki/babel-plugin-ignore-html-and-css-imports#readme","devDependencies":{"babel-plugin-tester":"^9.2.0","jest":"^26.2.2","semantic-release":"^17.1.1"},"gitHead":"62008acb1ffc33d85e41ee42a5d8b685f398a06e","_id":"babel-plugin-ignore-html-and-css-imports@0.1.0","_nodeVersion":"12.18.3","_npmVersion":"6.14.7","dist":{"integrity":"sha512-1ayvecgwu98HyLVNe8iAR+cE7B+MBwEsNEJOJoARxzxtq6p0qCBULAQtuDS5/WH+bmxkjRg+uE3w+QSgkElKCw==","shasum":"a164a607c0424e6f7c2639f79e96782d6b3170a7","tarball":"https://registry.npmjs.org/babel-plugin-ignore-html-and-css-imports/-/babel-plugin-ignore-html-and-css-imports-0.1.0.tgz","fileCount":9,"unpackedSize":3912,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfKXufCRA9TVsSAnZWagAAp/UQAKGaJCobVfYqQUDKnZ3f\nXoUg0at9ePrCOoB0icu9G+ohliNOIQjbCk8pwgAmJgv7BgN/mz8Eck5DiTQ+\nv6/Doi6u7B2dkfPWFNexq7DHHrVo9u0t6CNWVacGUM2+934YoeOwzCHMeHAW\npl8VRSO1RUebesW/U2JeAb8G6fB6t42z3SVOnjyqahYYAXe6nksREDoEU2Y4\nawH0fZf4w7aJISsRX/8Iaat3/BPFAJ/EsMFneM/AaFZk1KSCYjxFphQu/w+V\nd4de41973NJ6q9Q08eXWDAkfpth6EmUTiA5CLh17N5DBFI7rT5ugvouImnGg\nkfFPUyptV6xt9Wt2iUnO/zIhIYykwl0ZYZ5DmA6laFHUHPkcQi66McaUQQOq\nHErc1jUQqNTpJQzYIOhba8aF5e0SPcpt2Emvjs9oOFCNxoJod2qUh81Cugnx\npkLZ5U5DJ4DOUoFlHbtV+cGO6t/r2HXEooE3G1psUa5oi1H5WeFZeZ7SghMW\nM2U1gdOm4WLwWeUgv9jnxQZLHrdJJJ53T7Abyc60Tlxywbkew0w2GIINAFVd\n3hFftCD8dMZJSLuuTNFYdGkgNsu+JaI2zWnuMbyYYQ+J7BRMVK8xZIVPRvue\nSTvkY2Ls0nRE47RoTTZrBZgjLE5fQjqwXt0E1LKWzfLOQyfvjH542+z9Xgch\naXwv\r\n=yRIo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCu+dpeDWxHblfetyOWA8Iz+X5ZmEJpyy862GkwMqpx3AIhAOmKMpby1AlkqOuruaCQPP+6Oh8UwGl9vFUpSY8FwpmM"}]},"maintainers":[{"name":"lgandecki","email":"lgandecki@thebrain.pro"}],"_npmUser":{"name":"lgandecki","email":"lgandecki@thebrain.pro"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-ignore-html-and-css-imports_0.1.0_1596554142947_0.15615806254822417"},"_hasShrinkwrap":false}},"readme":"# Ignore html and css imports in your code. Useful for testing meteor without it's context\n\n## Example\n\n```js\nimport html from './example.html';\n```\n\n#### out\n```js\n```\n\n## Installation\n\n```sh\n$ npm install --save-dev babel-plugin-ignore-html-and-css-imports\n```\n\n## Usage\n\n### Via `.babelrc` (Recommended)\n\n**.babelrc**\n\n```json\n{\n  \"plugins\": [\"ignore-html-and-css-imports\"]\n}\n```\n\n### Via CLI\n\n```sh\n$ babel --plugins ignore-html-and-css-imports script.js\n```\n\n### Via Node API\n\n```javascript\nrequire(\"babel-core\").transform(\"code\", {\n  plugins: [\"transform-ignore-html-and-css-imports\"]\n});\n```\n\n### Options\n\nYou can configure what extensions to remove by adding an optional `removeExtensions` option.\n\n```\n{\n  \"plugins\": [\n    [\n      \"ignore-html-and-css-imports\",\n      {\n        \"removeExtensions\": [\".png\"]\n      }\n    ]\n  ]\n}\n```\n\nInitially based on yeiniel/babel-plugin-transform-html-import-to-string which turned out still not to work properly in Meteor - and since we didn't need the string at all, we've decided to change it a bit.\n","maintainers":[{"name":"lgandecki","email":"lgandecki@thebrain.pro"}],"time":{"modified":"2022-04-11T16:38:58.138Z","created":"2017-09-22T14:51:09.743Z","0.0.1":"2017-09-22T14:51:09.743Z","0.0.2":"2017-09-22T14:53:14.205Z","0.1.0":"2020-08-04T15:15:43.177Z"},"homepage":"https://github.com/lgandecki/babel-plugin-ignore-html-and-css-imports#readme","keywords":["babel-plugin","html","import","string"],"repository":{"type":"git","url":"git+https://github.com/lgandecki/babel-plugin-ignore-html-and-css-imports.git"},"author":{"name":"Łukasz Gandecki"},"bugs":{"url":"https://github.com/lgandecki/babel-plugin-ignore-html-and-css-importsissues"},"license":"MIT","readmeFilename":"README.md"}