Skip to content

Commit

Permalink
fix(webpack): remove deprecated json-loader
Browse files Browse the repository at this point in the history
Closes #137
  • Loading branch information
dignifiedquire committed Aug 16, 2017
1 parent 6266215 commit b61e7be
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
6 changes: 0 additions & 6 deletions src/config/webpack/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,6 @@ module.exports = {
],
moduleExtensions: ['-loader']
},
module: {
rules: [{
test: /\.json$/,
loader: 'json-loader'
}]
},
node: {
Buffer: true
},
Expand Down
8 changes: 0 additions & 8 deletions test/config/__snapshots__/webpack.spec.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,6 @@ Object {
"entry": Array [
"src/main.js",
],
"module": Object {
"rules": Array [
Object {
"loader": "json-loader",
"test": /\\\\\\.json\\$/,
},
],
},
"node": Object {
"Buffer": true,
},
Expand Down

0 comments on commit b61e7be

Please sign in to comment.