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
489 B
21 lines
489 B
module.exports = {
|
|
warnings: [
|
|
{
|
|
code: 'MISSING_EXPORT',
|
|
message: `'foo' is not exported by 'empty.js'`,
|
|
pos: 61,
|
|
loc: {
|
|
file: require( 'path' ).resolve( __dirname, 'main.js' ),
|
|
line: 3,
|
|
column: 25
|
|
},
|
|
frame: `
|
|
1: import * as mod from './empty.js';
|
|
2:
|
|
3: assert.equal( typeof mod.foo, 'undefined' );
|
|
^
|
|
`,
|
|
url: `https://github.com/rollup/rollup/wiki/Troubleshooting#name-is-not-exported-by-module`
|
|
}
|
|
]
|
|
};
|
|
|