1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-12-16 03:31:52 +00:00
tobspr_shapez.io/gulp/mod.js
Bagel03 321971dadd
Fix All Shapez Exports Being Const (#1358)
* Allowed setting of variables inside webpack modules

* remove console log

* Fix stringification of things inside of eval

Co-authored-by: Edward Badel <you@example.com>
2022-02-01 14:05:58 +01:00

4 lines
104 B
JavaScript

module.exports = function (source, map) {
return source + `\nexport let $s=(n,v)=>eval(n+"=v")`;
};