Skip to content

Add explicit browserslist config - #99

Merged
phra merged 1 commit into
preboot:masterfrom
dkokic:fix/add-browserslist-config
May 24, 2018
Merged

phra merged 1 commit into
preboot:masterfrom
dkokic:fix/add-browserslist-config

Conversation

@dkokic

@dkokic dkokic commented May 6, 2018 •

Copy link
Copy Markdown

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

Should help resolve #91 (and consequently #95)

Comment thread package.json Outdated
"webpack": "2.2.0",
"webpack-dev-server": "2.2.0"
},
"browserslist": {

Copy link
Copy Markdown
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

dkokic commented May 23, 2018

Copy link
Copy Markdown
Author

Done.

Comment thread .browserslistrc Outdated
"last 1 chrome version",
"last 1 firefox version"
]
}

Copy link
Copy Markdown
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

dkokic commented May 24, 2018 via email

Copy link
Copy Markdown
Author

@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.

2 participants