Use Webpack Aliases (#3711)

* Adds aliases to Webpack Build

* Use `ui` Webpack alias

* Use `views` alias

* Use `modals` aliase

* Use `providers` aliase

* Use `contracts` aliase

* Use '~' aliase

* from `ui` to from `~/ui`

* from  to from

* from `modals` to from `~/modals`

* from `providers` to from `~/redux/providers`

* from `contracts` to from `~/contracts`

* Updated Webpack App config
This commit is contained in:
Nicolas Gotchac
2016-12-05 11:47:13 +01:00
committed by Jaco Greeff
parent 0c7b7fc8bc
commit 52b4ce0dd7
103 changed files with 152 additions and 149 deletions

View File

@@ -112,6 +112,9 @@ module.exports = {
},
resolve: {
alias: {
'~': path.resolve(__dirname, '../src')
},
modules: [
path.join(__dirname, '../node_modules')
],