Navigation Menu

Skip to content

Commit

Permalink
さよならWebpackVisualizer
Browse files Browse the repository at this point in the history
  • Loading branch information
otiai10 committed Feb 14, 2017
1 parent 957f607 commit f2b8b10
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
1 change: 0 additions & 1 deletion index.html
Expand Up @@ -17,7 +17,6 @@ <h2>開発</h2>
<li><a href="https://github.com/otiai10/kanColleWidget/issues?utf8=%E2%9C%93&q=is%3Aissue">現在よせられているバグ報告・機能要望</a></li>
<li><a href="https://travis-ci.org/otiai10/kanColleWidget"><img src="https://travis-ci.org/otiai10/kanColleWidget.svg?branch=master"/></a></li>
<li><a href='https://gemnasium.com/github.com/otiai10/kanColleWidget'><img src="https://gemnasium.com/badges/github.com/otiai10/kanColleWidget.svg" alt="Dependency Status" /></a></li>
<li><a href="./gh-pages/webpack.html">Webpack Visualizer</a></li>
</ul>
</article>
<article>
Expand Down
3 changes: 1 addition & 2 deletions package.json
Expand Up @@ -56,8 +56,7 @@
"react-tap-event-plugin": "^2.0.1",
"shelljs": "^0.7.1",
"url-loader": "^0.5.7",
"webpack": "^2.2.1",
"webpack-visualizer-plugin": "^0.1.10"
"webpack": "^2.2.1"
},
"jest": {
"verbose": true,
Expand Down
6 changes: 1 addition & 5 deletions webpack.config.js
@@ -1,14 +1,10 @@
/* global process:false */
var webpack = require("webpack");
var Visualizer = require("webpack-visualizer-plugin");

var plugins = [
new webpack.DefinePlugin({
"process.env.NODE_ENV": JSON.stringify(process.env.NODE_ENV || "development")
}),
new Visualizer({
filename: "./gh-pages/webpack.html",
}),
})
];
if (process.env.NODE_ENV == "production") {
plugins.push(new webpack.optimize.UglifyJsPlugin({
Expand Down

0 comments on commit f2b8b10

Please sign in to comment.