hotfix: preview command + build peg without logs

This commit is contained in:
Felix Roos 2023-01-09 23:55:45 +01:00
parent e8b09f1124
commit a675815529
2 changed files with 1 additions and 3 deletions

View File

@ -15,7 +15,7 @@
"repl": "cd website && npm run dev",
"osc": "cd packages/osc && npm run server",
"build": "cd website && npm run build",
"preview": "npx serve ./out",
"preview": "cd website && npm run preview",
"deploy": "NODE_DEBUG=gh-pages gh-pages -d out",
"jsdoc": "jsdoc packages/ -c jsdoc.config.json",
"jsdoc-json": "jsdoc packages/ --template ./node_modules/jsdoc-json --destination doc.json -c jsdoc.config.json",

View File

@ -282,9 +282,7 @@ function peg$parse(input, options) {
var peg$f11 = function(a) { return x => x.options_['ops'].push({ type_: "degradeBy", arguments_ :{ amount:a } }) };
var peg$f12 = function(s, ops) { const result = new ElementStub(s, {ops: [], weight: 1, reps: 1});
for (const op of ops) {
console.log("hmm");
op(result);
console.log("ha");
}
return result;
};