Skip to content

Commit

Permalink
break: update rollup-pluginutils to @rollup/pluginutils
Browse files Browse the repository at this point in the history
This includes 2 major version bumps:
2-3: updates minimum rollup version to 1.20 and node version to 8, not a problem
3-4: fixes/changes behavior of createFilter with absolute paths or globs at start, see rollup/plugins#517
  • Loading branch information
dominikg committed Feb 1, 2021
1 parent 1b33c76 commit abc6b36
Show file tree
Hide file tree
Showing 9 changed files with 69 additions and 15 deletions.
8 changes: 8 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .idea/rollup-plugin-svelte.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const path = require('path');
const relative = require('require-relative');
const { createFilter } = require('rollup-pluginutils');
const { createFilter } = require('@rollup/pluginutils');
const { compile, preprocess } = require('svelte/compiler');

const PREFIX = '[rollup-plugin-svelte]';
Expand Down
34 changes: 21 additions & 13 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"dependencies": {
"require-relative": "^0.8.7",
"rollup-pluginutils": "^2.8.2"
"@rollup/pluginutils": "^4.1.0"
},
"peerDependencies": {
"svelte": ">=3.5.0",
Expand Down

0 comments on commit abc6b36

Please sign in to comment.