rollup-plugin-npm
Advanced tools
Comparing version 0.1.0 to 1.0.0
# rollup-plugin-npm changelog | ||
## 1.0.0 | ||
* Add ES6 build, use Rollup 0.20.0 | ||
## 0.1.0 | ||
* First release |
{ | ||
"name": "rollup-plugin-npm", | ||
"description": "Bundle third-party dependencies in node_modules", | ||
"version": "0.1.0", | ||
"version": "1.0.0", | ||
"devDependencies": { | ||
@@ -9,5 +9,6 @@ "eslint": "^1.7.3", | ||
"gobble-cli": "^0.6.0", | ||
"gobble-rollup-babel": "^0.6.1", | ||
"gobble-rollup": "^0.11.0", | ||
"mocha": "^2.3.3", | ||
"rollup": "^0.19.2", | ||
"rollup": "^0.20.0", | ||
"rollup-plugin-babel": "^1.0.0", | ||
"rollup-plugin-commonjs": "^0.1.0", | ||
@@ -17,3 +18,4 @@ "string-capitalize": "^1.0.1", | ||
}, | ||
"main": "dist/rollup-plugin-npm.js", | ||
"main": "dist/rollup-plugin-npm.cjs.js", | ||
"jsnext:main": "dist/rollup-plugin-npm.es6.js", | ||
"scripts": { | ||
@@ -20,0 +22,0 @@ "test": "mocha", |
# rollup-plugin-npm | ||
## experimental, depends on unreleased version of Rollup | ||
**experimental, depends on unreleased version of Rollup** | ||
Find third party modules in `node_modules`, so that they can be included in a Rollup bundle. | ||
## Installation | ||
@@ -54,1 +56,6 @@ | ||
``` | ||
## License | ||
MIT |
@@ -26,2 +26,6 @@ import { dirname, resolve } from 'path'; | ||
// lop off trailing slash to handle bizarro cases like | ||
// https://github.com/nodejs/readable-stream/blob/077681f08e04094f087f11431dc64ca147dda20f/lib/_stream_readable.js#L125 | ||
if ( importee.slice( -1 ) === '/' ) importee = importee.slice( 0, -1 ); | ||
var parts = importee.split( /[\/\\]/ ); | ||
@@ -28,0 +32,0 @@ var id = parts.shift(); |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
11272
6
233
1
61
10
4
1