Skip to content

Commit

Permalink
Fix linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelalmeidatk committed Oct 12, 2019
1 parent fb74ebf commit ece656f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/using-inferno/next.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const path = require('path')

module.exports = {
webpack: function(config, { dev }) {
webpack: function (config, { dev }) {
// For the development version, we'll use React.
// Because, it support react hot loading and so on.
if (dev) {
Expand All @@ -12,9 +12,9 @@ module.exports = {
...config.resolve.alias,
react: path.resolve('./lib/inferno-compat.js'),
'react-dom': path.resolve('./lib/inferno-compat.js'),
'react-dom/server': 'inferno-server',
'react-dom/server': 'inferno-server'
}

return config
},
}
}

0 comments on commit ece656f

Please sign in to comment.