question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Resolve browserlist from file or package json

See original GitHub issue

See: https://github.com/postcss/autoprefixer#using-environment-variables-to-support-css-grid-prefixes-in-create-react-app

"browserslist": {
  "production": [
    ">0.2%",
    "not dead",
    "not op_mini all"
  ],
  "development": [
    "last 1 chrome version",
    "last 1 firefox version",
    "last 1 safari version",
    "last 1 ie version"
  ]
}

Would be dope to pick this up automatically and then set the CSS compiler with it.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
itsdougescommented, May 31, 2020

Oh you did! Noice

On Sun, 31 May 2020, 7:33 pm Michael Dougall, laheen@gmail.com wrote:

Siiiick easy fix - want to delete some lines of code and add a new feature? 😉

On Sun, 31 May 2020, 7:27 pm Ankeet Maini, notifications@github.com wrote:

yes!

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/atlassian-labs/compiled-css-in-js/issues/104#issuecomment-636445352, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABT4PHMXS3QAOTR5QHPI4ETRUIPG3ANCNFSM4MALC6FA .

1reaction
itsdougescommented, May 31, 2020

Siiiick easy fix - want to delete some lines of code and add a new feature? 😉

On Sun, 31 May 2020, 7:27 pm Ankeet Maini, notifications@github.com wrote:

yes!

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/atlassian-labs/compiled-css-in-js/issues/104#issuecomment-636445352, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABT4PHMXS3QAOTR5QHPI4ETRUIPG3ANCNFSM4MALC6FA .

Read more comments on GitHub >

github_iconTop Results From Across the Web

browserslist/browserslist: Share target browsers ... - GitHub
Browserslist caches the configuration it reads from package.json and browserslist files, as well as knowledge about the existence of files, for the duration...
Read more >
browserslist - npm
The config to share target browsers and Node.js versions between different front-end tools. It is used in: Autoprefixer · Babel · postcss-preset ...
Read more >
What is the significance of browserslist in package.json ...
Browserslist is a tool that allows specifying which browsers should be supported in your frontend app by specifying "queries" in a config file....
Read more >
Target | webpack
Supported browserslist values: browserslist - use automatically resolved browserslist config and environment (from the nearest package.json or BROWSERSLIST ...
Read more >
Bundling Your JavaScript Library with Rollup | Risan Bagja
Along with the main.js file, we should now have the bundle.js file. ... type the following command to create an empty package.json file:....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found