Include workspace deps (demos) from build (#220)

* Include workspace deps (demos) from build

* Fix React demo
This commit is contained in:
Jaco Greeff
2019-10-01 16:02:35 +02:00
committed by GitHub
parent f00ff53fc1
commit a0637fee5b
6 changed files with 22 additions and 17 deletions
+2 -1
View File
@@ -19,7 +19,8 @@ module.exports = {
},
resolve: {
alias: {
'@polkadot/ui-settings': path.resolve(__dirname, '../ui-settings/src')
'@polkadot/ui-settings': path.resolve(__dirname, '../ui-settings/build'),
'@polkadot/ui-shared': path.resolve(__dirname, '../ui-shared/build')
},
extensions: ['.js', '.jsx', '.ts', '.tsx']
},