Migrating to 3.0.0
PostCSS plugin :
- const postcssBlankPseudo = require('css-blank-pseudo/postcss');
+ const postcssBlankPseudo = require('css-blank-pseudo');
Browser Polyfill :
- const cssBlankPseudo = require('css-blank-pseudo');
+ const cssBlankPseudo = require('css-blank-pseudo/browser');
The old CND url is now deprecated and will be removed in a next major release. It will continue to work for now.
- <script src="https://unpkg.com/css-blank-pseudo/browser"></script>
+ <script src="https://unpkg.com/css-blank-pseudo/dist/browser-global.js"></script>
Browser Polyfill IE :
The polyfill for IE is now the same as the general polyfill
- const cssBlankPseudo = require('css-blank-pseudo');
+ const cssBlankPseudo = require('css-blank-pseudo/browser');
The old CND url is now deprecated and will be removed in a next major release. It will continue to work for now.
- <script src="https://unpkg.com/css-blank-pseudo/browser-legacy"></script>
+ <script src="https://unpkg.com/css-blank-pseudo/dist/browser-global.js"></script>
postcss
to 7.0.16 (patch)