Skip to content

Commit

Permalink
Code quality (linter + minor fixes)
Browse files Browse the repository at this point in the history
  • Loading branch information
trekiteasy committed Jan 24, 2019
1 parent a19ff89 commit 67ba0c1
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions webpack.config.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const RESOURCES_DIR = path.resolve(__dirname, 'resources');

const config = {
entry: [
"react-hot-loader/patch",
'react-hot-loader/patch',
'webpack-dev-server/client?http://localhost:8080',
'webpack/hot/only-dev-server',
path.resolve(APP_DIR, 'index.js')
Expand All @@ -30,18 +30,18 @@ const config = {
namedModules: true
},
node: {
fs: "empty"
fs: 'empty'
},
module: {
rules: [
{
test: /.jsx?$/,
use: 'happypack/loader?id=jsx',
include: APP_DIR
test: /.jsx?$/,
use: 'happypack/loader?id=jsx',
include: APP_DIR
},
{
test: /.scss$/,
use: 'happypack/loader?id=scss'
test: /.scss$/,
use: 'happypack/loader?id=scss'
},
{
test: /\.css/,
Expand Down Expand Up @@ -71,11 +71,11 @@ const config = {
}),
new HappyPack({
id: 'jsx',
loaders: [ 'babel-loader' ]
loaders: ['babel-loader']
}),
new HappyPack({
id: 'scss',
loaders: [ 'style-loader!css-loader?importLoaders=1&modules&localIdentName=[local]!sass-loader' ]
loaders: ['style-loader!css-loader?importLoaders=1&modules&localIdentName=[local]!sass-loader']
})
],
target: 'electron-renderer'
Expand Down

0 comments on commit 67ba0c1

Please sign in to comment.