{"_id":"@bit/bundler-extractsm","_rev":"4-0f91d1d98f59bb02cae7af75df90fd48","name":"@bit/bundler-extractsm","dist-tags":{"latest":"2.1.5"},"versions":{"2.1.4":{"name":"@bit/bundler-extractsm","version":"2.1.4","description":"bit-bundler plugins for extracting source maps into their own files","main":"index.js","scripts":{},"repository":{"type":"git","url":"git+https://github.com/MiguelCastillo/bit-bundler-extractsm.git"},"keywords":["bit-bundler","bit-bundler-plugin"],"author":{"name":"Miguel Castillo","email":"manchagnu@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/MiguelCastillo/bit-bundler-extractsm/issues"},"homepage":"https://github.com/MiguelCastillo/bit-bundler-extractsm#readme","dependencies":{"convert-source-map":"^1.5.0","mkdirp":"^0.5.1"},"gitHead":"6e8b83772e44b963b554730d39770856d55dd128","_id":"@bit/bundler-extractsm@2.1.4","_shasum":"7702cd8d84367197baba7563beab717b3b67cf2c","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.14.2","_npmUser":{"name":"manchagnu","email":"manchagnu@gmail.com"},"dist":{"shasum":"7702cd8d84367197baba7563beab717b3b67cf2c","tarball":"https://registry.npmjs.org/@bit/bundler-extractsm/-/bundler-extractsm-2.1.4.tgz","fileCount":6,"unpackedSize":5917,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbH8eBCRA9TVsSAnZWagAAt04P/jWqLmMe9tLM3ZnwviSm\nZt1w548ETRlyCTuAL/CNLPCmzXcgoOR8x0IA2LD5YCs5pwqHxL7iCiDEt02P\nTh/0gEKmuBjFrZxVsQNHtidu+CJe49Ckz5nyfyD7NDfMTomHmDyD/IO4S4Fy\n6cat9aqh8AlhcMeTEohtb6k1RwKSX3Lb6Y6dz81anv/+fU1KFxXeSmgoRGMw\nznRLSFk2Giueii4ZL0wIdW/INXks3NWa89OZbqkOsyzAxf654uUulowdbWjN\nyiCuPyJIfRQi+/FAbEpIA/csPgz97YNB3BUx4ODleruyxFB3OaphtB3aJasn\nNZUGq36jt87qyCzvSEOEefI9jhun0Kh60aS+OiGVztsKdhF9d/CDjYfWzB75\nsjkVK00XaV7TBXZVEsvns5V+Jx2aVu6/zSBBqAAyP/hRl3L7znv93HfX0mlK\n3mgUW2gK1TMEKIhItAZAyjcS5DbzfMUFkHDp9OQrouZ46opHVCY+7t5YFYzE\nJzhh15a31tD8ZYG0WxB6fbXp/ftyj0ImCuPOUb3vxm8vfzGlx+EkGmXqibVq\nOKLBeA7yNmbozGSXOjd/6uiOmMNsm1Y0qLfFw16PJG30zpcA+OKwFfuOGvaL\naYqGKDCgCxozEyXDZv/2JyW5xia6eKzcc+W78VzMiwdTz4xR0ERVKV/Nk0WR\ntI2Q\r\n=GeT6\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-07RnW9sn67Mm2rmmWqvbYAcZMBLR6v9wuVF9ybEo+E1l8rF6nb+8/NyILr/D0/cpJ8Lhp4j6wr6kLkSLeqVEsg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDqaBi7iTYrAow+y8rMFHApvvCETidVSiecDBXjrvn9EwIhAKTOek7mqTMgdaTe/dLISsLfUtWVU4GFHg/PwWojYA9c"}]},"maintainers":[{"name":"manchagnu","email":"manchagnu@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bundler-extractsm_2.1.4_1528809344681_0.0085711848443899"},"_hasShrinkwrap":false},"2.1.5":{"name":"@bit/bundler-extractsm","version":"2.1.5","description":"bit-bundler plugins for extracting source maps into their own files","main":"index.js","scripts":{},"repository":{"type":"git","url":"git+https://github.com/MiguelCastillo/bit-bundler-extractsm.git"},"keywords":["bit-bundler","bit-bundler-plugin"],"author":{"name":"Miguel Castillo","email":"manchagnu@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/MiguelCastillo/bit-bundler-extractsm/issues"},"homepage":"https://github.com/MiguelCastillo/bit-bundler-extractsm#readme","dependencies":{"convert-source-map":"^1.5.0","mkdirp":"^0.5.1"},"gitHead":"5410cba8a716842681c3debffd50e8f24064ad67","_id":"@bit/bundler-extractsm@2.1.5","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"manchagnu","email":"manchagnu@gmail.com"},"dist":{"integrity":"sha512-k0o1ZMlPoxjfSVkcTQCLNiKneTlDbr+3OPM866E0dUkZaDoSezDNoSGz4OYCeF+smXah10plzt5gwfsZqfAIIA==","shasum":"1cec12f73b1f8b214295e04e3ea9d810cf3312cb","tarball":"https://registry.npmjs.org/@bit/bundler-extractsm/-/bundler-extractsm-2.1.5.tgz","fileCount":5,"unpackedSize":5351,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJboam1CRA9TVsSAnZWagAAGL0P/jLY31nTZejS9baW2tD/\nafUFl7g2opkoM3Xhaz08vxhbv2RoLP0O63+nCGh2jWIZpDmz0SS4LygW+Mwr\nNMnvjdELmd/8wCOETKRScsgY6yyTjdMXVP1YC5BWuTikeP/Z3KgKZjNVEsbY\ncW5IMebabnqO1409TCPHj5cwOq9aib1Uqb5ymysitxS8TyYlWmppODCk1NMZ\nTv/04ljoMOkRhErVn4Rcj1ycVKKVnvbkk32N6W4mFKo7mpDjGtpIaggHfL2g\nw+B+yxXpyeHp2Lg7JOLzv+jBn8G4XgG2TdOUuEiUzk85vE2AEPJa83wrmHWi\nWY7ex/6FI3U0j5jCEIjobUK4Za8h27TUpwgMJB5Q4bpIhRcLVBCGWV19xM18\nTCwOPVnWvboePd5sPjFehoxR5QZ7DxMW9XP1Fz2UDEoKlnMkz1hkYpq6Llhp\nH3J8L2Tdc662PVD3fz4uF3VPabLkbK0wXLKfx518sr5Mz+55ue4RQV4KLhGb\nPriSuHtxLFy3M7zbRIh+PMbRdNIdY5vus5yXdIOuPc4FFWsCqrfPy6ijRV+3\nKoLw/fFBb0fl4aaZEfJ8xclRjY4cLooxuiPYjLoSMDjL09lf+iLfmbLIYyk+\n8wAoQbqdgZ1ulaDG1Spl4aDVJNL3UvgA+VGyCRPgoesNTsiS6j4oNg8uSQzj\nvNgt\r\n=Drva\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCZu46k87/2SAZe0O93iPqAau00AGDXlkr7qUydGHARNwIgYE5ORopCi75ZrvyRYLa8va4gLD/LVg4gITbeWEzSzzM="}]},"maintainers":[{"name":"manchagnu","email":"manchagnu@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bundler-extractsm_2.1.5_1537321396490_0.802532208722694"},"_hasShrinkwrap":false}},"time":{"created":"2018-06-12T13:15:44.536Z","2.1.4":"2018-06-12T13:15:44.751Z","modified":"2022-06-12T15:15:30.453Z","2.1.5":"2018-09-19T01:43:16.617Z"},"maintainers":[{"name":"manchagnu","email":"manchagnu@gmail.com"}],"description":"bit-bundler plugins for extracting source maps into their own files","homepage":"https://github.com/MiguelCastillo/bit-bundler-extractsm#readme","keywords":["bit-bundler","bit-bundler-plugin"],"repository":{"type":"git","url":"git+https://github.com/MiguelCastillo/bit-bundler-extractsm.git"},"author":{"name":"Miguel Castillo","email":"manchagnu@gmail.com"},"bugs":{"url":"https://github.com/MiguelCastillo/bit-bundler-extractsm/issues"},"license":"MIT","readme":"# bit-bundler-extractsm\n\n[![Greenkeeper badge](https://badges.greenkeeper.io/MiguelCastillo/bit-bundler-extractsm.svg)](https://greenkeeper.io/)\n\n[bit-bundler](https://github.com/MiguelCastillo/bit-bundler) plugin for extracting and writing source maps into their own file\n\n# usage\n\n## install\n\n```\n$ npm install @bit/bundler-extractsm @bit/bundler-minifyjs\n```\n\n## bit-bundler example with bit-bundler-minifyjs\n\nThe example below will exract the sourcemap generated by the minifier.\n\n> The source map file is written to match the output bundle file. So given the output file `out.js`, the source map file will be written to `out.js.map`.\n\n``` javascript\nvar Bitbundler = require(\"@bit/bundler\");\n\nBitbundler.bundle({\n  src: \"in.js\",\n  dest: \"out.js\"\n}, {\n  bundler: [\n    \"@bit/bundler-minifyjs\",\n    \"@bit/bundler-extractsm\"\n  ]\n});\n```\n\n## Remove sourcemaps\n\n### Removing sourcemaps from your bundle.\n\nYou can use `bit-bundler-extractsm` to remove sourcemaps from your bundle.\n\n``` javascript\nvar Bitbundler = require(\"@bit/bundler\");\n\nBitbundler.bundle({\n  src: \"in.js\",\n  dest: \"out.js\"\n}, {\n  bundler: [\n    \"@bit/bundler-minifyjs\",\n    [\"@bit/bundler-extractsm\", false]\n  ]\n});\n```\n\n### Removing sourcemaps from a particular bundle split.\n\nTo remove sourcemaps from a bundle split, you need to specify the name of the bundle. In the example below we remove the sourcemaps from `vendor`.\n\n``` javascript\nvar Bitbundler = require(\"@bit/bundler\");\n\nBitbundler.bundle({\n  src: \"in.js\",\n  dest: \"out.js\"\n}, {\n  bundler: [\n    [\"@bit/bundler-splitter\", [\n      { name: \"vendor\", dest: \"dest/vendor.js\", match: { path: /\\/node_modules\\// } }],\n      { name: \"renderer\", dest: \"dest/renderer.js\", match: { path: /\\/src\\/renderer\\// } }\n    ],\n    \"@bit/bundler-minifyjs\",\n    [\"@bit/bundler-extractsm\", {\n      vendor: false\n    }]\n  ]\n});\n```\n","readmeFilename":"README.md"}