8
0

postcss.config.js 782 B

1234567891011121314151617181920212223242526272829303132333435
  1. /**
  2. * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
  3. * For licensing, see LICENSE.md.
  4. */
  5. 'use strict';
  6. /* eslint-env node */
  7. const path = require( 'path' );
  8. const postCssImport = require( 'postcss-import' );
  9. const postCssNext = require( 'postcss-cssnext' );
  10. const cssnano = require( 'cssnano' );
  11. const themeImporter = require( './themeimporter' );
  12. module.exports = {
  13. plugins: [
  14. postCssImport(),
  15. themeImporter( {
  16. themePath: path.resolve( __dirname, 'node_modules/@ckeditor/ckeditor5-theme-lark' )
  17. } ),
  18. postCssNext( {
  19. // features: {
  20. // customProperties: {
  21. // variables: {
  22. // fg: "red",
  23. // bg: "green",
  24. // foo: "#456"
  25. // }
  26. // }
  27. // }
  28. } ),
  29. // cssnano( { autoprefixer: false } )
  30. ]
  31. };