Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Feb 26, 2020. It is now read-only.

Commit 55d0c2d

Browse files
committed
webpack - removed bundler
1 parent c31c8bc commit 55d0c2d

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

‎webpack.config.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
var projectRoot = process.cwd()
22
var env = process.env.ENVIRONMENT
3-
var BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
43

54
var config = {
65
output: { publicPath: (env === 'development' ? '/' : '/dist/') },
@@ -14,13 +13,4 @@ var config = {
1413
performance: { hints: false }
1514
}
1615

17-
if (env === 'production') {
18-
config.plugins = [
19-
new BundleAnalyzerPlugin({
20-
analyzerMode: 'static',
21-
reportFilename: '../bundle-analyzer-report.html'
22-
})
23-
]
24-
}
25-
2616
module.exports = config

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /