postcss-data-packer
postcss-data-packer copied to clipboard
PostCSS plugin to move an embedded data to separate file
Конфиг вебпака ``` { test: /\.less$/, use: ExtractTextPlugin.extract({ fallback: 'style-loader', use: [ 'css-loader', { loader: 'postcss-loader', options: { plugins: (loader) => [ require('autoprefixer'), require('postcss-svg')(), require('postcss-data-packer')({ dest: 'build/css/main_data.css' }), ] }...
Love this plugin, and want to use it, but I need a way to ignore removing certain embedded data, maybe by adding a specific comment behind the property?
it will be awesome to pack this PostCSS plugin for easy use with Grunt. ~~or at least provide a clear “Usage with Grunt” readme section.~~ done in [[email protected]#104](https://github.com/Ser-Gen/postcss-data-packer/commit/889bd50c2adfc17a897594138d7464b204fd0362#diff-04c6e90faac2675aa89e2176d2eec7d8R104)