mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
10 lines
241 B
JavaScript
10 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;
|