Skip to content

Commit

Permalink
add types
Browse files Browse the repository at this point in the history
  • Loading branch information
korywka committed Sep 2, 2023
1 parent 05d800a commit d4645bd
Show file tree
Hide file tree
Showing 6 changed files with 213 additions and 176 deletions.
15 changes: 8 additions & 7 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"extends": [
"eslint-config-ecmascript"
],
"ignorePatterns": [
"test"
]
}
"extends": [
"eslint-config-ecmascript"
],
"ignorePatterns": [
"test",
"*.d.ts"
]
}
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
node_modules
.idea
.DS_Store
.DS_Store
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,12 @@ export default {
},
plugins: [
svg({
stringify: true // Optional: returns SVG as a string instead of DOM node
/**
* If `true`, instructs the plugin to import an SVG as string.
* For example, for Server Side Rendering.
* Otherwise, the plugin imports SVG as DOM node.
*/
stringify: true
}),
],
};
Expand Down
Loading

0 comments on commit d4645bd

Please sign in to comment.