rollup-plugin-multi-entry
Advanced tools
Comparing version 1.4.0 to 2.0.0
'use strict'; | ||
Object.defineProperty(exports, '__esModule', { value: true }); | ||
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } | ||
@@ -64,7 +62,4 @@ | ||
} else { | ||
var _config$include = config.include; | ||
include = _config$include === undefined ? [] : _config$include; | ||
var _config$exclude = config.exclude; | ||
exclude = _config$exclude === undefined ? [] : _config$exclude; | ||
include = config.include || []; | ||
exclude = config.exclude || []; | ||
if (config.exports === false) { | ||
@@ -131,3 +126,2 @@ exporter = function exporter(path) { | ||
exports.entry = entry; | ||
exports['default'] = multiEntry; | ||
module.exports = multiEntry; |
{ | ||
"name": "rollup-plugin-multi-entry", | ||
"version": "1.4.0", | ||
"description": "Allows specifying multiple entry points with rollup.", | ||
@@ -8,10 +7,12 @@ "main": "dist/rollup-plugin-multi-entry.js", | ||
"scripts": { | ||
"flow": "flow check", | ||
"build": "rm -rf dist && rollup -c", | ||
"pretest": "npm run build", | ||
"pretest": "npm run flow && npm run build", | ||
"test": "mocha", | ||
"prepublish": "npm test" | ||
"prepublish": "npm test", | ||
"semantic-release": "semantic-release pre && npm publish && semantic-release post" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/eventualbuddha/rollup-plugin-multi-entry.git" | ||
"url": "https://github.com/rollup/rollup-plugin-multi-entry.git" | ||
}, | ||
@@ -27,7 +28,7 @@ "keywords": [ | ||
"bugs": { | ||
"url": "https://github.com/eventualbuddha/rollup-plugin-multi-entry/issues" | ||
"url": "https://github.com/rollup/rollup-plugin-multi-entry/issues" | ||
}, | ||
"homepage": "https://github.com/eventualbuddha/rollup-plugin-multi-entry#readme", | ||
"homepage": "https://github.com/rollup/rollup-plugin-multi-entry#readme", | ||
"dependencies": { | ||
"glob": "^7.0.3" | ||
"glob": "^7.0.5" | ||
}, | ||
@@ -39,7 +40,10 @@ "devDependencies": { | ||
"babel-register": "^6.9.0", | ||
"babelrc-rollup": "^1.0.0", | ||
"babelrc-rollup": "^1.1.0", | ||
"flow-bin": "^0.27.0", | ||
"mocha": "^2.5.3", | ||
"rollup": "^0.29.0", | ||
"rollup-plugin-babel": "^2.5.1" | ||
} | ||
} | ||
"rollup": "^0.33.0", | ||
"rollup-plugin-babel": "^2.6.1", | ||
"semantic-release": "^4.3.5" | ||
}, | ||
"version": "2.0.0" | ||
} |
@@ -78,4 +78,14 @@ # rollup-plugin-multi-entry | ||
Sometimes you may not want to export anything from the rolled-up bundle. In | ||
such cases, use the `exports: false` option like so: | ||
```js | ||
export default { | ||
entry: 'src/*.js', | ||
plugins: [multiEntry({ exports: false })] | ||
}; | ||
``` | ||
## License | ||
MIT |
Sorry, the diff of this file is not supported yet
91
9248
10
212
Updatedglob@^7.0.5