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.
23 lines
399 B
23 lines
399 B
module.exports = {
|
|
description: 'warns on export {}, but does not fail',
|
|
warnings: [
|
|
{
|
|
code: 'EMPTY_EXPORT',
|
|
message: 'Empty export declaration',
|
|
pos: 0,
|
|
loc: {
|
|
file: require( 'path' ).resolve( __dirname, 'main.js' ),
|
|
line: 1,
|
|
column: 0
|
|
},
|
|
frame: `
|
|
1: export {};
|
|
^
|
|
`
|
|
},
|
|
{
|
|
code: 'EMPTY_BUNDLE',
|
|
message: 'Generated an empty bundle'
|
|
}
|
|
]
|
|
};
|
|
|