mirror of https://github.com/lukechilds/rollup.git
Rich-Harris
9 years ago
3 changed files with 10 additions and 0 deletions
@ -0,0 +1,8 @@ |
|||||
|
var assert = require( 'assert' ); |
||||
|
|
||||
|
module.exports = { |
||||
|
description: 'missing relative imports are an error, not a warning', |
||||
|
error: function ( err ) { |
||||
|
assert.ok( /Could not resolve \.\/missing\.js from/.test( err.message ) ); |
||||
|
} |
||||
|
}; |
@ -0,0 +1 @@ |
|||||
|
import missing from './missing.js'; |
Loading…
Reference in new issue