{"_id":"@jspm/plugin-rollup","_rev":"4569167","name":"@jspm/plugin-rollup","description":"Rollup plugin for jspm 2","dist-tags":{"latest":"1.2.4"},"maintainers":[{"name":"bubblyworld","email":""},{"name":"guybedford","email":"guybedford@gmail.com"},{"name":"jkrishna","email":""}],"time":{"modified":"2026-04-10T15:22:12.000Z","created":"2025-05-19T06:43:54.388Z","1.2.4":"2025-05-19T06:57:48.932Z","1.2.3":"2025-05-19T06:56:02.947Z","1.2.2":"2025-05-19T06:50:23.019Z","1.2.1":"2025-05-19T06:49:05.902Z","1.2.0":"2025-05-19T06:43:54.388Z"},"users":{},"repository":{"type":"git","url":"git+https://github.com/jspm/rollup-plugin-jspm.git"},"versions":{"1.2.4":{"name":"@jspm/plugin-rollup","version":"1.2.4","description":"Rollup plugin for jspm 2","main":"jspm-rollup.js","exports":"./jspm-rollup.js","license":"MIT","repository":{"type":"git","url":"git+https://github.com/jspm/rollup-plugin-jspm.git"},"scripts":{"build":"echo none","test":"node test/test.js"},"dependencies":{"@babel/core":"^7.25.2","@babel/parser":"^7.21.3","@babel/preset-typescript":"^7.24.7","@jspm/core":"^2.0.0-beta.8","@jspm/generator":"^2.4.1","@jspm/import-map":"^1.1.0","cjs-module-lexer":"^1.3.1","terser":"^5.31.3"},"devDependencies":{"chalk":"^2.3.0","lodash":"^4.17.4","mocha":"^9.0.2","rollup":"^4.20.0","typescript":"^5.5.4"},"type":"module","_id":"@jspm/plugin-rollup@1.2.4","gitHead":"b6d4184821ba7a8e351e932b2fed2e03e28c7dc6","bugs":{"url":"https://github.com/jspm/rollup-plugin-jspm/issues"},"homepage":"https://github.com/jspm/rollup-plugin-jspm#readme","_nodeVersion":"23.9.0","_npmVersion":"10.9.2","dist":{"shasum":"a2e6c719b33aa8d5e818829fbf462572b1d92dab","size":23441,"noattachment":false,"key":"/@jspm/plugin-rollup/-/@jspm/plugin-rollup-1.2.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/@jspm/plugin-rollup/download/@jspm/plugin-rollup-1.2.4.tgz"},"_npmUser":{"name":"guybedford","email":"guybedford@gmail.com"},"directories":{},"maintainers":[{"name":"bubblyworld","email":""},{"name":"guybedford","email":"guybedford@gmail.com"},{"name":"jkrishna","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/plugin-rollup_1.2.4_1747637868749_0.5525766525780993"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-05-19T06:57:48.932Z","publish_time":1747637868932,"_source_registry_name":"default","_cnpm_publish_time":1747637868932},"1.2.3":{"name":"@jspm/plugin-rollup","version":"1.2.3","description":"Rollup plugin for jspm 2","main":"jspm-rollup.js","exports":"./jspm-rollup.js","license":"MIT","repository":{"type":"git","url":"git+https://github.com/jspm/rollup-plugin-jspm.git"},"scripts":{"build":"echo none","test":"node test/test.js"},"dependencies":{"@babel/core":"^7.25.2","@babel/parser":"^7.21.3","@babel/preset-typescript":"^7.24.7","@jspm/core":"^2.0.0-beta.8","@jspm/generator":"^2.4.1","@jspm/import-map":"^1.1.0","cjs-module-lexer":"^1.3.1","terser":"^5.31.3"},"devDependencies":{"chalk":"^2.3.0","lodash":"^4.17.4","mocha":"^9.0.2","rollup":"^4.20.0","typescript":"^5.5.4"},"type":"module","_id":"@jspm/plugin-rollup@1.2.3","gitHead":"b6d4184821ba7a8e351e932b2fed2e03e28c7dc6","bugs":{"url":"https://github.com/jspm/rollup-plugin-jspm/issues"},"homepage":"https://github.com/jspm/rollup-plugin-jspm#readme","_nodeVersion":"23.9.0","_npmVersion":"10.9.2","dist":{"shasum":"29fec22b55ce93b415ad05da4cf3e8bb1f900575","size":10638,"noattachment":false,"key":"/@jspm/plugin-rollup/-/@jspm/plugin-rollup-1.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@jspm/plugin-rollup/download/@jspm/plugin-rollup-1.2.3.tgz"},"_npmUser":{"name":"guybedford","email":"guybedford@gmail.com"},"directories":{},"maintainers":[{"name":"bubblyworld","email":""},{"name":"guybedford","email":"guybedford@gmail.com"},{"name":"jkrishna","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/plugin-rollup_1.2.3_1747637762760_0.8595872062483472"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-05-19T06:56:02.947Z","publish_time":1747637762947,"_source_registry_name":"default","_cnpm_publish_time":1747637762947},"1.2.2":{"name":"@jspm/plugin-rollup","version":"1.2.2","description":"Rollup plugin for jspm 2","main":"jspm-rollup.js","exports":"./jspm-rollup.js","license":"MIT","repository":{"type":"git","url":"git+https://github.com/jspm/rollup-plugin-jspm.git"},"scripts":{"build":"echo none","test":"node test/test.js"},"dependencies":{"@babel/core":"^7.25.2","@babel/parser":"^7.21.3","@babel/preset-typescript":"^7.24.7","@jspm/core":"^2.0.0-beta.8","@jspm/generator":"^2.4.1","@jspm/import-map":"^1.1.0","cjs-module-lexer":"^1.3.1","terser":"^5.31.3"},"devDependencies":{"chalk":"^2.3.0","lodash":"^4.17.4","mocha":"^9.0.2","rollup":"^4.20.0","typescript":"^5.5.4"},"type":"module","_id":"@jspm/plugin-rollup@1.2.2","gitHead":"6a58458c4e30f86b06a0c08a06aae0304b8e2c6e","bugs":{"url":"https://github.com/jspm/rollup-plugin-jspm/issues"},"homepage":"https://github.com/jspm/rollup-plugin-jspm#readme","_nodeVersion":"23.9.0","_npmVersion":"10.9.2","dist":{"shasum":"4861672b1da36fc6cb27fbe201ce984802b7d58d","size":10634,"noattachment":false,"key":"/@jspm/plugin-rollup/-/@jspm/plugin-rollup-1.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@jspm/plugin-rollup/download/@jspm/plugin-rollup-1.2.2.tgz"},"_npmUser":{"name":"guybedford","email":"guybedford@gmail.com"},"directories":{},"maintainers":[{"name":"bubblyworld","email":""},{"name":"guybedford","email":"guybedford@gmail.com"},{"name":"jkrishna","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/plugin-rollup_1.2.2_1747637422837_0.2874357836496364"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-05-19T06:50:23.019Z","publish_time":1747637423019,"_source_registry_name":"default","_cnpm_publish_time":1747637423019},"1.2.1":{"name":"@jspm/plugin-rollup","version":"1.2.1","description":"Rollup plugin for jspm 2","main":"jspm-rollup.js","exports":"./jspm-rollup.js","license":"MIT","repository":{"type":"git","url":"git+https://github.com/jspm/rollup-plugin-jspm.git"},"scripts":{"build":"echo none","test":"node test/test.js"},"dependencies":{"@babel/core":"^7.25.2","@babel/parser":"^7.21.3","@babel/preset-typescript":"^7.24.7","@jspm/core":"^2.0.0-beta.8","@jspm/generator":"^2.4.1","@jspm/import-map":"^1.1.0","cjs-module-lexer":"^1.3.1","terser":"^5.31.3"},"devDependencies":{"chalk":"^2.3.0","lodash":"^4.17.4","mocha":"^9.0.2","rollup":"^4.20.0","typescript":"^5.5.4"},"type":"module","_id":"@jspm/plugin-rollup@1.2.1","gitHead":"6a58458c4e30f86b06a0c08a06aae0304b8e2c6e","bugs":{"url":"https://github.com/jspm/rollup-plugin-jspm/issues"},"homepage":"https://github.com/jspm/rollup-plugin-jspm#readme","_nodeVersion":"23.9.0","_npmVersion":"10.9.2","dist":{"shasum":"c100da50f842f8f62c8f0943712edefbbed5779f","size":10635,"noattachment":false,"key":"/@jspm/plugin-rollup/-/@jspm/plugin-rollup-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@jspm/plugin-rollup/download/@jspm/plugin-rollup-1.2.1.tgz"},"_npmUser":{"name":"guybedford","email":"guybedford@gmail.com"},"directories":{},"maintainers":[{"name":"bubblyworld","email":""},{"name":"guybedford","email":"guybedford@gmail.com"},{"name":"jkrishna","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/plugin-rollup_1.2.1_1747637345731_0.23023876289990142"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-05-19T06:49:05.902Z","publish_time":1747637345902,"_source_registry_name":"default","_cnpm_publish_time":1747637345902},"1.2.0":{"name":"@jspm/plugin-rollup","version":"1.2.0","description":"Rollup plugin for jspm 2","main":"jspm-rollup.js","exports":"./jspm-rollup.js","license":"MIT","repository":{"type":"git","url":"git+https://github.com/jspm/rollup-plugin-jspm.git"},"scripts":{"build":"echo none","test":"node test/test.js"},"dependencies":{"@babel/core":"^7.25.2","@babel/parser":"^7.21.3","@babel/preset-typescript":"^7.24.7","@jspm/core":"^2.0.0-beta.8","@jspm/generator":"^2.4.1","@jspm/import-map":"^1.1.0","cjs-module-lexer":"^1.3.1","terser":"^5.31.3"},"devDependencies":{"chalk":"^2.3.0","lodash":"^4.17.4","mocha":"^9.0.2","rollup":"^4.20.0","typescript":"^5.5.4"},"type":"module","_id":"@jspm/plugin-rollup@1.2.0","gitHead":"6a58458c4e30f86b06a0c08a06aae0304b8e2c6e","bugs":{"url":"https://github.com/jspm/rollup-plugin-jspm/issues"},"homepage":"https://github.com/jspm/rollup-plugin-jspm#readme","_nodeVersion":"23.9.0","_npmVersion":"10.9.2","dist":{"shasum":"0e8e036196733b21884cda721112e01903773be3","size":10635,"noattachment":false,"key":"/@jspm/plugin-rollup/-/@jspm/plugin-rollup-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@jspm/plugin-rollup/download/@jspm/plugin-rollup-1.2.0.tgz"},"_npmUser":{"name":"guybedford","email":"guybedford@gmail.com"},"directories":{},"maintainers":[{"name":"bubblyworld","email":""},{"name":"guybedford","email":"guybedford@gmail.com"},{"name":"jkrishna","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/plugin-rollup_1.2.0_1747637034226_0.28880552317955943"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-05-19T06:43:54.388Z","publish_time":1747637034388,"_source_registry_name":"default","_cnpm_publish_time":1747637034388}},"readme":"# @jspm/plugin-rollup\r\n\r\nStandards-based JSPM Rollup plugin, including:\r\n\r\n* All module references as URLs\r\n* Support for resolving packages via node_modules or CDN providers\r\n* Fully compatible with Node.js resolution semantics\r\n* Support for import maps\r\n* Support for TypeScript\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install @jspm/plugin-rollup rollup --save-dev\r\n```\r\n\r\n## Usage\r\n\r\nrollup.config.js\r\n```js\r\nimport jspmRollup from '@jspm/plugin-rollup';\r\n\r\nconst baseUrl = new URL('./components', import.meta.url);\r\n\r\nexport default {\r\n  // Important to use \"./\" here to indicate a local path\r\n  // and not a package. Resolved to baseUrl below.\r\n  input: './main.js',\r\n  plugins: [\r\n    jspmRollup({\r\n      baseUrl,\r\n\r\n      // Generator options as per @jspm/generator\r\n      defaultProvider: 'nodemodules',\r\n      env: ['browser'],\r\n\r\n      // map of externals to aliased or true\r\n      externals: {\r\n        react: 'custom-react'\r\n      }\r\n    })\r\n  ]\r\n}\r\n```\r\n\r\n```\r\nrollup -c\r\n```\r\n","_attachments":{},"homepage":"https://github.com/jspm/rollup-plugin-jspm#readme","bugs":{"url":"https://github.com/jspm/rollup-plugin-jspm/issues"},"license":"MIT"}