Import web links into demo via node path

This commit is contained in:
Daniel Imms
2019-05-31 18:58:48 -07:00
parent 96b96cfcf8
commit 413f9ca3a1
5 changed files with 13 additions and 2 deletions
+5 -1
View File
@@ -43,7 +43,11 @@ const clientConfig = {
]
},
resolve: {
modules: [path.resolve(__dirname, '..'), 'node_modules'],
modules: [
'node_modules',
path.resolve(__dirname, '..'),
path.resolve(__dirname, '../addons')
],
extensions: [ '.tsx', '.ts', '.js' ],
alias: {
common: path.resolve('./out/common'),