Fix core path for production environments

pull/33/head
NGPixel 8 years ago
parent 2227515b26
commit 923ebf80b7

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

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

Loading…
Cancel
Save