rollup-plugin-mcss

0.0.2 • Public • Published

rollup-plugin-mcss

rollup-plugin for mcss

usage

import mcss from 'rollup-plugin-mcss';
 
mcss({
  include: ['**/*.mcss'],       // default include
 
  output: true,                 // default, bundle.css will be ouput to the same path as bundle.js
 
  output: './dist/bundle.css',    // output to the path relative to current working directory
 
  output: false,                // transpiled css code will be exported as `export default ${cssCode}`
 
  transpileOnly: false,         // default, transpile mcss and export it as string, `export default ${cssCode}`
 
  transpileOnly: true,         // transpile mcss, and replace the original .mcss code
});

Readme

Keywords

Package Sidebar

Install

npm i rollup-plugin-mcss

Weekly Downloads

1

Version

0.0.2

License

MIT

Last publish

Collaborators

  • elcarim5efil