Skip to content
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

Merged
merged 1 commit into from May 24, 2018

Conversation

dkokic
Copy link

@dkokic dkokic commented May 6, 2018

As browserslist is already being used by autoprefixer here the explicit (recommended) config in package.json

Should help resolve #91 (and consequently #95)

package.json Outdated
@@ -51,5 +51,15 @@
"style-loader": "^0.13.0",
"webpack": "2.2.0",
"webpack-dev-server": "2.2.0"
},
"browserslist": {
Copy link
Member

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?

@dkokic dkokic force-pushed the fix/add-browserslist-config branch from a444ec2 to 72c2fa9 Compare May 23, 2018 19:07
@dkokic
Copy link
Author

dkokic commented May 23, 2018

Done.

.browserslistrc Outdated
"last 1 chrome version",
"last 1 firefox version"
]
}
Copy link
Member

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.

@dkokic dkokic force-pushed the fix/add-browserslist-config branch from 72c2fa9 to 33ab76b Compare May 24, 2018 16:13
@dkokic dkokic force-pushed the fix/add-browserslist-config branch from 33ab76b to 327cfd4 Compare May 24, 2018 16:17
@dkokic
Copy link
Author

dkokic commented May 24, 2018 via email

@phra phra merged commit 8dd3298 into preboot:master May 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants