🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
[TOC] > [参考手册](https://webpack.docschina.org/loaders/babel-loader/) ## demo ``` rules: [ { test: /\.js$/, exclude: /(node_modules|bower_components)/, include:true_path+'/src', use: { loader: 'babel-loader', options: { // presets: ['@babel/preset-env'] } } }, ] ```