2. mu-webpack loader & plugin

自定义loader loader就是一个函数 获取参数的方式 this.query const options = loaderUtils.getOptions(this); 如果在自定义loader