This repository has been archived on 2024-08-16. You can view files and clone it, but cannot push or open issues or pull requests.
Valentin Silytuin 1e6b8905d7 Bump version
2021-09-30 23:56:06 +04:00
2021-09-30 21:40:38 +04:00
2021-09-30 21:40:38 +04:00
2021-09-30 21:40:38 +04:00
2021-09-30 21:40:38 +04:00
2021-09-30 23:56:06 +04:00
2021-09-30 21:40:38 +04:00
2021-09-30 21:40:38 +04:00

postcss-remove-bem-blocks

PostCSS-плагин для удаления БЭМ-блоков (включая их модификаторы и элементы) из конечного CSS.

Установка

yarn add -D @advdominion/postcss-remove-bem-blocks

Использование

postcss.config.js

const plugins = [];

if (process.env.NODE_ENV === 'production') {
	plugins.push(
		require('@advdominion/postcss-remove-bem-blocks')({
			blocks: ['.stylepage'],
		})
	);
}

module.exports = {
	plugins,
};
Description
No description provided
Readme 1.2 MiB
Languages
JavaScript 66.1%
CSS 33.9%