Skip to content
This repository has been archived by the owner on Oct 12, 2019. It is now read-only.

Commit

Permalink
Fix alpha issues, preparing for release
Browse files Browse the repository at this point in the history
  • Loading branch information
frostney committed Apr 28, 2016
1 parent fc142f3 commit 7a3c782
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
8 changes: 1 addition & 7 deletions bin/index.js
Expand Up @@ -41,14 +41,8 @@ if (stats && stats.isFile()) {
bundleDependencies = libPkg.bundleDependencies || [];

externals = Object.keys(dependencies).filter(function filter(item) {
return bundleDependencies.indexOf(item) >= 0;
return bundleDependencies.indexOf(item) < 0;
});

// FIXME: That's actually not the way it should be. `jsnext:main` is most likely the output,
// not the input. This needs to be changed requiring a new major version according to SemVer
if (libPkg['jsnext:main']) {
entry = ['jsnext:main'];
}
}

program.version(pkg.version)
Expand Down
1 change: 0 additions & 1 deletion lib/index.js
Expand Up @@ -44,7 +44,6 @@ module.exports = function rollupLib(options) {
json(),
nodeResolve({
main: true,
browser: true,
extensions: ['.js', '.json'],
preferBuiltins: false,
skip: rollupOptions.externals
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "rollup-babel-lib-bundler",
"version": "3.0.0-alpha1",
"version": "3.0.0",
"description": "Utility to bundle JavaScript libraries with Rollup",
"main": "lib/index.js",
"bin": {
Expand Down

0 comments on commit 7a3c782

Please sign in to comment.