Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin resolve foo in 0.48.2 but fail in 0.49.0 #1590

Closed
CodeTroopers opened this issue Aug 28, 2017 · 1 comment
Closed

Plugin resolve foo in 0.48.2 but fail in 0.49.0 #1590

CodeTroopers opened this issue Aug 28, 2017 · 1 comment

Comments

@CodeTroopers
Copy link
Contributor

This plugin can't resolve foo with rollup 0.49.0 althought it works with 0.48.2

{
	resolveId: function (id, importer) {
		let modulePath = /foo/.test(id) ? "./foo.js" : undefined;
		if (modulePath)
			return "./foo.js";
				
		// if no path was found, null must be returned to keep the plugin chain!
		return null;
	}
}

You can find the repro here

@CodeTroopers
Copy link
Contributor Author

Resolved with 0.49.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant