Skip to content

Commit

Permalink
Full compatibility with React (#2221)
Browse files Browse the repository at this point in the history
  • Loading branch information
djhi authored and sebastienfi committed Sep 25, 2017
1 parent 7c13284 commit ec33d81
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/gatsby-plugin-preact/src/gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ exports.modifyWebpackConfig = ({ config, stage }) => {
config._config.resolve.alias = {
react: `preact-compat`,
"react-dom": `preact-compat`,
"create-react-class": `preact-compat/lib/create-react-class`,
}
}

Expand Down

0 comments on commit ec33d81

Please sign in to comment.