mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-05-28 08:17:37 +08:00
Add linting and nicer output
This commit is contained in:
committed by
Christopher Chedeau
parent
2badb45121
commit
9800d05316
@@ -13,6 +13,13 @@ module.exports = {
|
||||
publicPath: '/'
|
||||
},
|
||||
module: {
|
||||
preLoaders: [
|
||||
{
|
||||
test: /\.js$/,
|
||||
loader: 'eslint-loader',
|
||||
include: path.resolve(__dirname, 'src')
|
||||
}
|
||||
],
|
||||
loaders: [
|
||||
{
|
||||
test: /\.css$/,
|
||||
|
||||
Reference in New Issue
Block a user