mirror of https://github.com/lukechilds/rollup.git
Rich-Harris
9 years ago
2 changed files with 10 additions and 0 deletions
@ -0,0 +1,7 @@ |
|||
const assert = require( 'assert' ); |
|||
|
|||
module.exports = { |
|||
description: 'populates options.external with --global keys', |
|||
command: 'rollup main.js --format iife --globals mathematics:Math', |
|||
execute: true |
|||
}; |
@ -0,0 +1,3 @@ |
|||
import { max } from 'mathematics'; |
|||
|
|||
assert.equal( max( 1, 2, 3 ), 3 ); |
Loading…
Reference in new issue