Commit 393d4039 authored by Akari Labs's avatar Akari Labs

fix bug crossing target parameters

parent b706765a
const target = {};
Object.assign(target, require('./shared.json'));
target.directories = target.directories.concat();
target.modules = target.modules.concat();
target.header = `// ==UserScript==
// @name gltchrr for PleromaFE
// @namespace http://akari.vii/
......@@ -20,4 +23,5 @@ target.meta = {
}
};
target.output = 'gltchrr_pleromafe.userscript.js'
module.exports = () => target;
\ No newline at end of file
{
"jsxmodule": "inertdom",
"directories": [
"modules/shared"
],
......
const target = {};
Object.assign(target, require('./shared.json'));
target.directories = target.directories.concat();
target.header = `<!DOCTYPE HTML><html><head><meta charset="utf-8"><script>`;
target.footer = `</script></head><body><noscript><h1>this page requires javascript, sorry!</h1></noscript></body></html>`;
target.directories.push('modules/standalone');
target.output = 'gltchrr.html';
target.main = ['index'];
module.exports = () => target;
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment