Remove ~ alias

This commit is contained in:
Jaco Greeff 2017-08-09 09:36:40 +02:00
parent a11e9acd12
commit 317addb7e3
2 changed files with 2 additions and 6 deletions

View File

@ -67,9 +67,7 @@ module.exports = {
fs: 'empty' fs: 'empty'
}, },
resolve: { resolve: {
alias: { alias: {},
'~': path.resolve(__dirname, '..')
},
modules: [ modules: [
path.join(__dirname, '../node_modules') path.join(__dirname, '../node_modules')
], ],

View File

@ -19,8 +19,6 @@ const path = require('path');
module.exports = { module.exports = {
context: path.join(__dirname, '../src'), context: path.join(__dirname, '../src'),
resolve: { resolve: {
alias: { alias: {}
'~': path.resolve(__dirname, '..')
}
} }
}; };