Skip to content

Commit 19a8321

Browse files
gaearonathill
authored andcommitted
Lint internal scripts with eslint:recommended (facebook#1729)
* Lint internal scripts with eslint:recommended * Warnings r bad
1 parent cfd2635 commit 19a8321

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

packages/react-scripts/config/webpack.config.prod.js

+13
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,19 @@ const eslintFormatter = require('react-dev-utils/eslintFormatter');
2222
const ModuleScopePlugin = require('react-dev-utils/ModuleScopePlugin');
2323
const paths = require('./paths');
2424
const getClientEnvironment = require('./env');
25+
var autoprefixer = require('autoprefixer');
26+
var webpack = require('webpack');
27+
var HtmlWebpackPlugin = require('html-webpack-plugin');
28+
var ExtractTextPlugin = require('extract-text-webpack-plugin');
29+
var ManifestPlugin = require('webpack-manifest-plugin');
30+
var InterpolateHtmlPlugin = require('react-dev-utils/InterpolateHtmlPlugin');
31+
var paths = require('./paths');
32+
var getClientEnvironment = require('./env');
33+
34+
// @remove-on-eject-begin
35+
// `path` is not used after eject - see https://github.com/facebookincubator/create-react-app/issues/1174
36+
var path = require('path');
37+
// @remove-on-eject-end
2538

2639
// Webpack uses `publicPath` to determine where the app is being served from.
2740
// It requires a trailing slash, or the file assets will get an incorrect path.

0 commit comments

Comments
 (0)