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.
15 lines
551 B
15 lines
551 B
var assert = require( 'assert' );
|
|
|
|
module.exports = {
|
|
description: 'does not hang on missing module (#53)',
|
|
warnings: [
|
|
{
|
|
code: 'UNRESOLVED_IMPORT',
|
|
message: `'unlessYouCreatedThisFileForSomeReason' is imported by main.js, but could not be resolved – treating it as an external dependency`,
|
|
url: `https://github.com/rollup/rollup/wiki/Troubleshooting#treating-module-as-external-dependency`
|
|
}
|
|
],
|
|
runtimeError: function ( error ) {
|
|
assert.equal( "Cannot find module 'unlessYouCreatedThisFileForSomeReason'", error.message );
|
|
}
|
|
};
|
|
|