Comparing version 0.17.1 to 0.17.2
# rollup changelog | ||
## 0.17.2 | ||
* Allow use of scoped npm packages ([#131](https://github.com/rollup/rollup/issues/131)) | ||
## 0.17.1 | ||
@@ -4,0 +8,0 @@ |
{ | ||
"name": "rollup", | ||
"version": "0.17.1", | ||
"version": "0.17.2", | ||
"description": "Next-generation ES6 module bundler", | ||
@@ -5,0 +5,0 @@ "main": "dist/rollup.js", |
@@ -41,2 +41,8 @@ import { absolutePath, dirname, isAbsolute, resolve } from './path'; | ||
// npm scoped packages – @user/package | ||
if ( parts[0][0] === '@' && parts[1] ) { | ||
var user = parts.shift(); | ||
parts[0] = user + '/' + parts[0]; | ||
} | ||
while ( dir !== root && dir !== '.' ) { | ||
@@ -43,0 +49,0 @@ const modulePath = resolve( dir, 'node_modules', parts[0] ); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1004118
11983
10