mirror of https://github.com/lukechilds/rollup.git
Bogdan Chadkin
9 years ago
6 changed files with 11 additions and 5 deletions
@ -1,4 +1,4 @@ |
|||||
module.exports = { |
module.exports = { |
||||
description: 'adds banner/intro/outro/footer', |
description: 'adds banner/intro/outro/footer', |
||||
command: 'rollup -i main.js -f iife --banner "// banner" --intro "// intro" --outro "// outro" --footer "// footer"' |
command: 'rollup -i main.js -f iife --indent --banner "// banner" --intro "// intro" --outro "// outro" --footer "// footer"' |
||||
}; |
}; |
||||
|
@ -1,4 +1,4 @@ |
|||||
module.exports = { |
module.exports = { |
||||
description: 'generates UMD export with correct moduleName', |
description: 'generates UMD export with correct moduleName', |
||||
command: 'rollup main.js --format umd --name myBundle' |
command: 'rollup main.js --format umd --name myBundle --indent' |
||||
}; |
}; |
||||
|
@ -1,4 +1,4 @@ |
|||||
module.exports = { |
module.exports = { |
||||
description: 'use no strict option', |
description: 'use no strict option', |
||||
command: 'rollup -i main.js -f iife --no-strict' |
command: 'rollup -i main.js -f iife --no-strict --indent' |
||||
}; |
}; |
||||
|
@ -1,4 +1,4 @@ |
|||||
module.exports = { |
module.exports = { |
||||
description: 'generates IIFE export with all code', |
description: 'generates IIFE export with all code', |
||||
command: 'rollup main.js --format iife --name shakeless --no-treeshake' |
command: 'rollup main.js --format iife --name shakeless --no-treeshake --indent' |
||||
}; |
}; |
||||
|
Loading…
Reference in new issue