Skip to content

Commit

Permalink
fix(url): add name property to plugin (#433)
Browse files Browse the repository at this point in the history
* Conform to Rollup type definitions. 

Also, exporting `defaultInclude` as I'd like to extend the defaults instead of redefining them.

* Update index.js
  • Loading branch information
seivan committed Jun 5, 2020
1 parent 28f9869 commit d970c31
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/url/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export default function url(options = {}) {
const copies = Object.create(null);

return {
name: "url",
load(id) {
if (!filter(id)) {
return null;
Expand Down

0 comments on commit d970c31

Please sign in to comment.