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
+4 -4
View File
@@ -21,10 +21,10 @@ module.exports = {
},
resolve: {
alias: {
'@polkadot/ui-keyring': path.resolve(__dirname, '../ui-keyring/src'),
'@polkadot/ui-settings': path.resolve(__dirname, '../ui-settings/src'),
'@polkadot/ui-shared': path.resolve(__dirname, '../ui-shared/src'),
'@polkadot/vue-identicon': path.resolve(__dirname, '../vue-identicon/src')
'@polkadot/ui-keyring': path.resolve(__dirname, '../ui-keyring/build'),
'@polkadot/ui-settings': path.resolve(__dirname, '../ui-settings/build'),
'@polkadot/ui-shared': path.resolve(__dirname, '../ui-shared/build'),
'@polkadot/vue-identicon': path.resolve(__dirname, '../vue-identicon/build')
},
extensions: ['.js', '.ts', '.tsx']
},