Skip to content
This repository has been archived by the owner on Mar 10, 2022. It is now read-only.

Autoprefix CSS properties #22

Merged
merged 3 commits into from
Oct 30, 2017
Merged

Autoprefix CSS properties #22

merged 3 commits into from
Oct 30, 2017

Conversation

boyum
Copy link
Contributor

@boyum boyum commented Oct 29, 2017

Usage

Pass a Browserlist supported string (e. g. last 2 versions) to the liveSassCompile.settings.autoprefix config, or null to turn off. Default is null.

Solves #19

…: -ms-flexbox`).

Usage: Pass a [Browserlist](https://github.com/ai/browserslist) supported string (e. g. `last 2 versions`) to the `liveSassCompile.settings.autoprefix` config, or `null` to turn off. Default is `null`.
@ritwickdey
Copy link
Owner

Wah!! Thanks a lot for the PR 😄

package.json Outdated
"type": [
"string",
"null"
],
Copy link
Owner

@ritwickdey ritwickdey Oct 30, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you not think it could be an array ?

(I don't know much about the configuration of browerlist).

I got this from https://github.com/ai/browserslist

"browserslist": [
    "> 1%",
    "last 2 versions"
  ]

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be better as an array, yes! I'll fix it as soon as possible.

@ritwickdey
Copy link
Owner

I test locally, It's working perfectly fine... Thanks a lot 😄

src/appModel.ts Outdated
*/
private async autoprefix(css: string, target: string): Promise<string> {
let result = '';

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But target & result is not used anywhere.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what have I been doing

Thanks for reviewing!

@ritwickdey
Copy link
Owner

Looks great 😃 ... Thanks (again) for the PR! ❤️

@ritwickdey ritwickdey merged commit 4b83ad9 into ritwickdey:master Oct 30, 2017
@boyum
Copy link
Contributor Author

boyum commented Oct 30, 2017

Glad to help! 😺

@glenn2223 glenn2223 mentioned this pull request Jan 31, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants