Skip to content
This repository has been archived by the owner on Jan 7, 2020. It is now read-only.

Commit

Permalink
fix(Deps): Update file-loader, remove babili
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuef committed Jan 8, 2019
1 parent e2d972d commit 4fef8d2
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 1,840 deletions.
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@
"babel-preset-react-optimize": "^1.0.1",
"babel-preset-stage-0": "^6.24.1",
"babel-register": "^6.24.1",
"babili-webpack-plugin": "^0.1.2",
"chalk": "^2.0.1",
"concurrently": "^3.5.0",
"copy-webpack-plugin": "^4.2.0",
Expand All @@ -154,9 +153,9 @@
"eslint-plugin-promise": "^3.5.0",
"eslint-plugin-react": "^7.1.0",
"express": "^4.15.3",
"extract-text-webpack-plugin": "^3.0.2",
"extract-text-webpack-plugin": "4.0.0-beta.0",
"fbjs-scripts": "^0.8.0",
"file-loader": "^0.11.1",
"file-loader": "3.0.1",
"flow-bin": "^0.48.0",
"flow-runtime": "^0.13.0",
"flow-typed": "^2.1.2",
Expand Down
6 changes: 0 additions & 6 deletions webpack.config.main.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

import webpack from 'webpack';
import merge from 'webpack-merge';
import BabiliPlugin from 'babili-webpack-plugin';
import { BundleAnalyzerPlugin } from 'webpack-bundle-analyzer';
import baseConfig from './webpack.config.base';
import CheckNodeEnv from './internals/scripts/CheckNodeEnv';
Expand All @@ -25,11 +24,6 @@ export default merge.smart(baseConfig, {
},

plugins: [
/**
* Babli is an ES6+ aware minifier based on the Babel toolchain (beta)
*/
new BabiliPlugin(),

new BundleAnalyzerPlugin({
analyzerMode: process.env.OPEN_ANALYZER === 'true' ? 'server' : 'disabled',
openAnalyzer: process.env.OPEN_ANALYZER === 'true'
Expand Down
8 changes: 1 addition & 7 deletions webpack.config.renderer.prod.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
/**
* Build config for electron renderer process
*/

process.traceDeprecation = true
import path from 'path';
import webpack from 'webpack';
import ExtractTextPlugin from 'extract-text-webpack-plugin';
import { BundleAnalyzerPlugin } from 'webpack-bundle-analyzer';
import merge from 'webpack-merge';
import BabiliPlugin from 'babili-webpack-plugin';
import CopyWebpackPlugin from 'copy-webpack-plugin';
import baseConfig from './webpack.config.base';
import CheckNodeEnv from './internals/scripts/CheckNodeEnv';
Expand Down Expand Up @@ -129,11 +128,6 @@ export default merge.smart(baseConfig, {
'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV || 'production')
}),

/**
* Babli is an ES6+ aware minifier based on the Babel toolchain (beta)
*/
new BabiliPlugin(),

new CopyWebpackPlugin([
{
from: 'app/template',
Expand Down
Loading

0 comments on commit 4fef8d2

Please sign in to comment.