problems with preact

This commit is contained in:
cupcakearmy 2019-08-25 13:47:01 +02:00
parent ce7e8d548b
commit 2ea30235ab
2 changed files with 2 additions and 5 deletions

View File

@ -9,7 +9,8 @@
},
"dependencies": {
"animejs": "3",
"preact": "10.0.0-rc.1",
"react": "16",
"react-dom": "16",
"react-router-dom": "5"
},
"devDependencies": {

View File

@ -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: {