stremio-routes added as an resolve alias in the webpack config

This commit is contained in:
NikolaBorislavovHristov 2018-06-14 15:15:02 +03:00
parent eaf165c48f
commit 591cab8451

View file

@ -64,7 +64,8 @@ module.exports = {
resolve: { resolve: {
extensions: ['.js', '.json', '.less'], extensions: ['.js', '.json', '.less'],
alias: { alias: {
'stremio-common': path.resolve(__dirname, 'src/common') 'stremio-common': path.resolve(__dirname, 'src/common'),
'stremio-routes': path.resolve(__dirname, 'src/routes')
} }
}, },
devServer: { devServer: {