diff --git a/config/webpack.js b/config/webpack.js index 1522486..61a493f 100644 --- a/config/webpack.js +++ b/config/webpack.js @@ -21,8 +21,8 @@ module.exports = env => { }, resolve: { alias: { - 'react': 'preact/aliases', - 'react-dom': 'preact/aliases' + 'react': 'preact-compat', + 'react-dom': 'preact-compat' } }, module: { diff --git a/package.json b/package.json index 197334d..0621b77 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,9 @@ "cors": "^2.8.1", "express": "^4.14.1", "preact": "^7.2.0", - "preact-router": "^2.4.1" + "preact-compat": "^3.13.1", + "preact-router": "^2.4.1", + "react-pdf": "0.0.10" }, "devDependencies": { "babel-core": "^6.23.1", diff --git a/webapp/index.html b/webapp/index.html index cd5fd3f..a6884f7 100644 --- a/webapp/index.html +++ b/webapp/index.html @@ -9,5 +9,7 @@