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.
21 lines
307 B
21 lines
307 B
import assert from 'assert';
|
|
import { resolve } from 'path';
|
|
|
|
var config = resolve( './_config.js' );
|
|
|
|
export default {
|
|
entry: 'main.js',
|
|
format: 'cjs',
|
|
|
|
external: function ( id ) {
|
|
return id === config;
|
|
},
|
|
|
|
plugins: [
|
|
{
|
|
load: function ( id ) {
|
|
assert.notEqual( id, config );
|
|
}
|
|
}
|
|
]
|
|
};
|
|
|