Browse Source

clean webpack configuration code

Yuki Takei 9 years ago
parent
commit
b547a998d3
1 changed files with 0 additions and 9 deletions
  1. 0 9
      config/webpack.common.js

+ 0 - 9
config/webpack.common.js

@@ -8,11 +8,6 @@ const helpers = require('./helpers');
 const AssetsPlugin = require('assets-webpack-plugin');
 const AssetsPlugin = require('assets-webpack-plugin');
 const CommonsChunkPlugin = require('webpack/lib/optimize/CommonsChunkPlugin');
 const CommonsChunkPlugin = require('webpack/lib/optimize/CommonsChunkPlugin');
 
 
-/*
- * Webpack Constants
- */
-const HMR = helpers.hasProcessFlag('hot');
-
 /*
 /*
  * Webpack configuration
  * Webpack configuration
  *
  *
@@ -43,10 +38,6 @@ module.exports = function (options) {
             loader: 'babel-loader?cacheDirectory',
             loader: 'babel-loader?cacheDirectory',
           }]
           }]
         },
         },
-        {
-          test: /\.json$/,
-          use: 'json-loader',
-        },
         /*
         /*
          * File loader for supporting images, for example, in CSS files.
          * File loader for supporting images, for example, in CSS files.
          */
          */