We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Idea from @academici
Original content:
"Green browsers" support attribute "module" on tag script, old browsers use scripts with attribute "nomodule". But tag link no support "nomodule".
Create config option modernBrowsers
modernBrowsers = [ 'Chrome >= 60', 'Safari >= 10.1', 'iOS >= 10.3', 'Firefox >= 54', 'Edge >= 15', ]
Configure postcss.config.js
const isModern = process.env.VUE_CLI_MODERN_MODE && !process.env.VUE_CLI_MODERN_BUILD let autoprefixerConfig = {} if(isModern) { autoprefixerConfig.browsers = modernBrowsers } module.exports = { plugins: { autoprefixer: { ...autoprefixerConfig, }, }, };
Files were generated in dist folder and precache-manifest.
Create middleware using useragent parser and modernBrowsers option.
In html file include needed styles.
what do you think of this idea?
The text was updated successfully, but these errors were encountered:
To help https://www.smashingmagazine.com/2018/10/smart-bundling-legacy-code-browsers/
Sorry, something went wrong.
Will there be conflicts with Critical Css #2 ?
No branches or pull requests
Idea from @academici
Original content:
"Green browsers" support attribute "module" on tag script, old browsers use scripts with attribute "nomodule". But tag link no support "nomodule".
Idea
Create config option modernBrowsers
Configure postcss.config.js
Files were generated in dist folder and precache-manifest.
Create middleware using useragent parser and modernBrowsers option.
In html file include needed styles.
what do you think of this idea?
The text was updated successfully, but these errors were encountered: