Skip to content
This repository has been archived by the owner on Mar 15, 2018. It is now read-only.

Commit

Permalink
添加 es3ify-webpack-plugin 配置
Browse files Browse the repository at this point in the history
  • Loading branch information
xxapp committed Jul 5, 2017
1 parent 550872e commit 8b1f127
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"avalon2": "^2.2.7",
"bootstrap": "^3.2.0",
"css-loader": "^0.28.4",
"es3ify-webpack-plugin": "0.0.1",
"es5-shim": "^4.5.9",
"es6-promise": "^4.1.0",
"extract-text-webpack-plugin": "^2.1.0",
Expand Down
2 changes: 2 additions & 0 deletions webpack.doc.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ var path = require('path');
var webpack = require('webpack');
var ExtractTextPlugin = require('extract-text-webpack-plugin');
var HtmlWebpackPlugin = require('html-webpack-plugin');
var es3ifyPlugin = require('es3ify-webpack-plugin');

var extractLess = new ExtractTextPlugin({
filename: "bundle[chunkHash].css",
Expand Down Expand Up @@ -104,6 +105,7 @@ module.exports = {
}
},
plugins: [
new es3ifyPlugin(),
extractLess,
extractCss,
new HtmlWebpackPlugin({
Expand Down

0 comments on commit 8b1f127

Please sign in to comment.