From 2ea30235ab14c26cdba26a1904569977c3474817 Mon Sep 17 00:00:00 2001 From: cupcakearmy Date: Sun, 25 Aug 2019 13:47:01 +0200 Subject: [PATCH] problems with preact --- package.json | 3 ++- webpack.config.js | 4 ---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index c13424e..cc5637a 100755 --- a/package.json +++ b/package.json @@ -9,7 +9,8 @@ }, "dependencies": { "animejs": "3", - "preact": "10.0.0-rc.1", + "react": "16", + "react-dom": "16", "react-router-dom": "5" }, "devDependencies": { diff --git a/webpack.config.js b/webpack.config.js index f8affa3..3712a66 100755 --- a/webpack.config.js +++ b/webpack.config.js @@ -13,10 +13,6 @@ module.exports = { }, resolve: { extensions: ['.js', '.jsx', '.ts', '.tsx'], - alias: { - 'react': 'preact/compat', - 'react-dom': 'preact/compat', - }, }, context: path.resolve(__dirname, 'src'), devServer: {