mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-19 03:48:18 -07:00
11 lines
241 B
JavaScript
11 lines
241 B
JavaScript
|
"use strict";
|
||
|
|
||
|
var fs = require("fs");
|
||
|
var vm = require("vm");
|
||
|
|
||
|
var fileContent = fs.readFileSync(__dirname + "/../../components.js", "utf8");
|
||
|
var context = {};
|
||
|
vm.runInNewContext(fileContent, context);
|
||
|
|
||
|
module.exports = context.components;
|