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.
19 lines
283 B
19 lines
283 B
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 );
|
|
}
|
|
}
|
|
]
|
|
};
|
|
|