mirror of
https://github.com/FMS-Cat/condition.git
synced 2025-08-11 16:34:10 +02:00
fix: fix automaton-json-loader minification
This commit is contained in:
@@ -10,7 +10,7 @@ module.exports = function( content ) {
|
||||
let data = JSON.parse( content );
|
||||
|
||||
if ( options.minimize ) {
|
||||
data = AutomatonWithGUI.minimizeData( data, { ...options } );
|
||||
data = AutomatonWithGUI.minimizeData( data, { ...options.minimize } );
|
||||
}
|
||||
|
||||
return `module.exports = ${ JSON.stringify( data ) }`;
|
||||
|
Reference in New Issue
Block a user