1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2024-12-23 16:32:48 +00:00

Fixed phantom build

This commit is contained in:
Keivan Beigi 2015-08-09 12:02:18 -07:00
parent 7cf400975e
commit 608cb296e6

View file

@ -6,9 +6,11 @@ var phantom = require('./gulp/phantom');
var uglifyJsPlugin = new webpack.optimize.UglifyJsPlugin();
var uiFolder = 'UI';
var root = path.join(__dirname, 'src', uiFolder);
if (phantom) {
uiFolder = 'UI.Phantom';
root = path.join(__dirname, uiFolder);
}
module.exports = {
@ -17,7 +19,7 @@ module.exports = {
main: 'main.js'
},
resolve: {
root: path.join(__dirname, 'src', uiFolder),
root: root,
alias: {
'vent': 'vent',
'backbone': 'Shims/backbone',