Prod path update
This commit is contained in:
parent
32d6e21b6c
commit
373207f4d1
@ -1,5 +1,13 @@
|
||||
|
||||
const importFresh = require('import-fresh');
|
||||
var fs = require('fs');
|
||||
|
||||
if (fs.existsSync(path.join(process.cwd() + "/npm"))) {
|
||||
var rootModules = path.join(process.cwd() + '/npm/node_modules/')
|
||||
} else{
|
||||
var rootModules = ''
|
||||
}
|
||||
|
||||
const importFresh = require(rootModules+'import-fresh');
|
||||
|
||||
var filters = importFresh('./filters.js')
|
||||
var actions = importFresh('./actions.js')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user