neutrino-preset-cssnext

2.0.0 • Public • Published

Neutrino CSSNext preset

NPM version NPM downloads Join Slack

neutrino-preset-cssnext is a Neutrino preset that adds support for cssnext.

Documentation

Install this preset to your development dependencies, then set it in .neutrinorc.js:

  module.exports = {
    use: [
      "neutrino-preset-web",
      "neutrino-preset-cssnext",
    ],
    ...
  };

You can configure the features through options object, following the instructions at cssnext documentation and the Browserslist query syntax).

This is an example using options:

  module.exports = {
    use: [
      "neutrino-preset-web",
      ["neutrino-preset-cssnext", {
        browsers: ["> 1%", "last 2 versions"],
      }],
    ],
    ...
  };

Breaking Changes

Bumping to Neutrino 6 and cssnext 3. The most meaningful change is in image-set polyfill. See https://github.com/MoOx/postcss-cssnext/releases/tag/3.0.0

Package Sidebar

Install

npm i neutrino-preset-cssnext

Weekly Downloads

0

Version

2.0.0

License

GPL-3.0

Last publish

Collaborators

  • barraponto