Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BREAKING CHANGE: Node: - Drop node v6 support Options: - Remove `ids` option (use SVGO config instead) - Remove `jsx-bracket-same-line` option (use Prettier config instead) - Remove `keep-useless-defs` option (use SVGO config instead) - Remove `no-bracket-spacing` option (use Prettier config instead) - Remove `no-semi` option (use Prettier config instead) - Remove `single-quote` option (use Prettier config instead) - Remove `tab-width` option (use Prettier config instead) - Remove `trailing-comma` option (use Prettier config instead) - Remove `use-tabs` option (use Prettier config instead) - Remove `no-title` option (use SVGO config instead) - Remove `no-view-box` option (use SVGO config instead) - Remove `precision` option (use SVGO config instead) - Rename `replace-attr-value` into `replace-attr-values` (it is now an object instead of an array) - Rename `svg-attribute` into `svg-attributes` API: - Remove `rawConvert` method - Templates now receive code, config and state - `componentName` must now be passed in state Packages: The project is now split into several packages: - @svgr/core (Node API) - @svgr/cli (Command Line Interface) - @svgr/webpack (webpack loader) - @svgr/rollup (Rollup plugin)
- Loading branch information
Showing
112 changed files
with
2,882 additions
and
2,287 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
"@babel/preset-env", | ||
{ | ||
"targets": { | ||
"node": "6" | ||
"node": "8" | ||
}, | ||
"loose": true | ||
} | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
CHANGELOG.md | ||
package.json | ||
lib/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.