Skip to content

Commit

Permalink
Add @yoast/browserslist-config as dependency
Browse files Browse the repository at this point in the history
Move the config to separate file to try to keep package.json clean
  • Loading branch information
igorschoester committed Mar 10, 2021
1 parent b8ff44f commit ea032d8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
extends @yoast/browserslist-config
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
"@wordpress/babel-plugin-makepot": "^1.0.0",
"@wordpress/babel-preset-default": "^1.1.3",
"@wordpress/dependency-extraction-webpack-plugin": "^2.8.0",
"@yoast/browserslist-config": "file:packages/browserslist-config",
"@yoast/grunt-plugin-tasks": "^2.0.0",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
Expand Down Expand Up @@ -100,9 +101,6 @@
"webpack-cli": "^3.1.1",
"webpack-dev-server": "^3.1.14"
},
"browserslist": [
"extends @yoast/browserslist-config"
],
"yoast": {
"pluginVersion": "16.0-RC5"
}
Expand Down
3 changes: 3 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3387,6 +3387,9 @@
resolved "https://registry.yarnpkg.com/@xtuc/long/-/long-4.2.2.tgz#d291c6a4e97989b5c61d9acf396ae4fe133a718d"
integrity sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==

"@yoast/browserslist-config@file:packages/browserslist-config":
version "1.2.2"

"@yoast/grunt-plugin-tasks@^2.0.0":
version "2.0.0"
resolved "https://registry.yarnpkg.com/@yoast/grunt-plugin-tasks/-/grunt-plugin-tasks-2.0.0.tgz#77c33c1b3fd8087075b611e49c4654b21e86ca15"
Expand Down

0 comments on commit ea032d8

Please sign in to comment.