mirror of https://github.com/lukechilds/rollup.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
283 B
20 lines
283 B
9 years ago
|
import assert from 'assert';
|
||
|
import { resolve } from 'path';
|
||
|
|
||
|
var config = resolve( './_config.js' );
|
||
|
|
||
|
export default {
|
||
|
entry: 'main.js',
|
||
|
format: 'cjs',
|
||
|
|
||
|
external: [ 'assert', config ],
|
||
|
|
||
|
plugins: [
|
||
|
{
|
||
|
load: function ( id ) {
|
||
|
assert.notEqual( id, config );
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
};
|