ykit-config-less

ykit plugin for LESS loader.

Usage no npm install needed!

<script type="module">
  import ykitConfigLess from 'https://cdn.skypack.dev/ykit-config-less';
</script>

README

ykit-config-less

ykit plugin for LESS loader.

Get Statrted

$ npm install ykit-config-less --save-dev

And add plugin in ykit.js

var path = require('path')
// var basePath = path.join(__dirname, 'static');
module.exports = {
  plugins: ['less'], // add your plugin
  config: {
    exports: [
      './styles/index.less'
    ],
    modifyWebpackConfig: function (baseConfig) {
      // edit ykit's Webpack configs
      return baseConfig
    }
  },
  hooks: {},
  commands: []
};

MIT LICENSE