Fix core path for production environments
This commit is contained in:
1 parent
2227515b26
commit
923ebf80b7
2 files changed
+2
-2
No files matched your search
@@ -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/';
|
||||
}
|
||||
|
||||
// ----------------------------------------
|
||||
|
||||
Reference in new issue
Block a user