支持es6
npm install babel-core babel-loader babel-preset-babili
npm install babili-webpack-plugin
var BabiliPlugin = require("babili-webpack-plugin");
plugins: [
new BabiliPlugin()
】
npm install babel-core babel-loader babel-preset-babili
npm install babili-webpack-plugin
var BabiliPlugin = require("babili-webpack-plugin");
plugins: [
new BabiliPlugin()
】