code: function lessLoaderOptions(options) {
    const CleanCSSPlugin = require('less-plugin-clean-css')
    
    const DefaultLessLoaderOptions = {
      noIeCompat: true, 
      strictMath: true,
      sourceMap: true,
      lessPlugins: [
        new CleanCSSPlugin({advanced: true})
      ]
    }
    
    return {
      loader: 'less-loader',
      options: Object.assign({}, DefaultLessLoaderOptions, options, {
        globalVar: `env=${options.env}`,
        lessPlugins: DefaultLessLoaderOptions.lessPlugins.concat(options.lessPlugins)
      })
    }
  }
docs: LessLoader
  
  option.globalVar: String? = null
  option.paths: Array<String> = []
  option.noIeCompat: Boolean = false
  option.strictMath: Boolean = false
  option.lessPlugins: Array<any> = []
  
  @link [less-loader](https://github.com/webpack-contrib/less-loader)
  @link [less](https://github.com/less/less.js)
  @link [less docs](https://github.com/less/less-docs)
  @link [less plugins](http://lesscss.org/usage/#plugins-list-of-less-plugins)