docs: 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)
      })
    }
  }