Skip to content
Snippets Groups Projects
Commit cd332ac1 authored by Alvaro Cabrera's avatar Alvaro Cabrera
Browse files

Fixed options

parent 62518f1a
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,7 @@ function bundle(options, next) {
var destFile = path.join(projectDir, 'dist', options.dest || '', options.id + '.js');
rollup.rollup({
entry: options.src,
input: options.src,
plugins: [
{
resolveId(importee, importer) {
......@@ -56,7 +56,7 @@ function bundle(options, next) {
return _bundle.generate({
banner,
format: 'umd',
moduleName: bundleName,
name: bundleName,
});
}).then(function(result) {
function dereq(file) {
......@@ -96,7 +96,7 @@ function bundle(options, next) {
next();
})
.catch(function(error) {
console.log(error);
console.log(error.stack);
});
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment