Skip to content

Commit

Permalink
Revert "Merge pull request frontity#834 from frontity/with-preact-as-…
Browse files Browse the repository at this point in the history
…commonjs"

This reverts commit d1d16d4, reversing
changes made to c5b4f80.
  • Loading branch information
SantosGuillamot committed Jun 4, 2021
1 parent b0b6902 commit e5f5e2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/with-preact/frontity.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* @param param - The passed params.
*/
module.exports.webpack = ({ config }) => {
export const webpack = ({ config }) => {
config.resolve.alias["react"] = "preact/compat";
config.resolve.alias["react-dom"] = "preact/compat";
};

0 comments on commit e5f5e2c

Please sign in to comment.