add pdf-js viewer

This commit is contained in:
Thomas Ruoff
2017-02-18 01:04:47 +01:00
parent b9424abebf
commit 9a5d762a2e
7 changed files with 109 additions and 12 deletions

View File

@@ -21,8 +21,8 @@ module.exports = env => {
},
resolve: {
alias: {
'react': 'preact/aliases',
'react-dom': 'preact/aliases'
'react': 'preact-compat',
'react-dom': 'preact-compat'
}
},
module: {