Fix core path for production environments

This commit is contained in:
NGPixel 2016-11-22 22:21:03 -05:00
parent 2227515b26
commit 923ebf80b7
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ global.IS_DEBUG = process.env.NODE_ENV === 'development';
if(IS_DEBUG) { if(IS_DEBUG) {
global.CORE_PATH = ROOTPATH + '/../core/'; global.CORE_PATH = ROOTPATH + '/../core/';
} else { } else {
global.CORE_PATH = ROOTPATH + './node_modules/requarks-core/'; global.CORE_PATH = ROOTPATH + '/node_modules/requarks-core/';
} }
// ---------------------------------------- // ----------------------------------------

View File

@ -11,7 +11,7 @@ global.IS_DEBUG = process.env.NODE_ENV === 'development';
if(IS_DEBUG) { if(IS_DEBUG) {
global.CORE_PATH = ROOTPATH + '/../core/'; global.CORE_PATH = ROOTPATH + '/../core/';
} else { } else {
global.CORE_PATH = ROOTPATH + './node_modules/requarks-core/'; global.CORE_PATH = ROOTPATH + '/node_modules/requarks-core/';
} }
// ---------------------------------------- // ----------------------------------------