mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-09 23:48:15 -07:00
13 lines
392 B
JavaScript
13 lines
392 B
JavaScript
var fs = require('fs');
|
|
var path = require("path");
|
|
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 remuxContainer = importFresh('./library/actions/remuxContainer.js')
|
|
|
|
module.exports.remuxContainer = remuxContainer
|