Skip to content
This repository was archived by the owner on Aug 4, 2021. It is now read-only.

Commit 02f0e6d

Browse files
authoredJun 29, 2019
Move Rollup version check to buildStart hook to avoid issues because (#232)
this.error is undefined
1 parent 84471e4 commit 02f0e6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ export default function nodeResolve ( options = {} ) {
187187
return {
188188
name: 'node-resolve',
189189

190-
options ( options ) {
190+
buildStart ( options ) {
191191
preserveSymlinks = options.preserveSymlinks;
192192
const [major, minor] = this.meta.rollupVersion.split('.').map(Number);
193193
const minVersion = peerDependencies.rollup.slice(2);

0 commit comments

Comments
 (0)
This repository has been archived.