-
Notifications
You must be signed in to change notification settings - Fork 658
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add explicit browserslist config #99
Conversation
package.json
Outdated
@@ -51,5 +51,15 @@ | |||
"style-loader": "^0.13.0", | |||
"webpack": "2.2.0", | |||
"webpack-dev-server": "2.2.0" | |||
}, | |||
"browserslist": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you create instead a .browserslistrc
file in the root instead of updating package.json
?
a444ec2
to
72c2fa9
Compare
Done. |
.browserslistrc
Outdated
"last 1 chrome version", | ||
"last 1 firefox version" | ||
] | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the syntax for .browserslistsrc is different from
package.json` one. see https://www.npmjs.com/package/browserslist#environments and update the PR.
72c2fa9
to
33ab76b
Compare
33ab76b
to
327cfd4
Compare
ups ;-)
…On 24 May 2018 at 17:20, Francesco Soncina ***@***.***> wrote:
***@***.**** requested changes on this pull request.
------------------------------
In .browserslistrc
<#99 (comment)>
:
> @@ -0,0 +1,10 @@
+{
+ "production": [
+ "> 1%",
+ "ie 10"
+ ],
+ "development": [
+ "last 1 chrome version",
+ "last 1 firefox version"
+ ]
+}
the syntax for .browserslistsrc is different frompackage.json` one. see
https://www.npmjs.com/package/browserslist#environments and update the PR.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#99 (review)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AANDjjlE_HUS3EuP9v4xTV4FawzsPgrfks5t1s-qgaJpZM4Tz-k1>
.
|
As browserslist is already being used by autoprefixer here the explicit (recommended) config in package.json
Should help resolve #91 (and consequently #95)