github zsviczian/obsidian-excalidraw-plugin 2.7.0-beta-x
Excalidraw 2.7.0-beta-x (debugging)

latest releases: 2.15.3-beta-1, 2.15.2, 2.15.2-beta-1...
pre-release8 months ago

this is a debugging release

function minifyCode(code) {
  const minified = minify(code, {
    compress: {
      arrows: false,
      keep_fargs: true,
      keep_fnames: true,
      keep_infinity: true,
      reduce_vars: false,
      toplevel: false,
      typeofs: false,
      pure_getters: false,
      unsafe: false
    },
    mangle: {
      keep_fnames: true,
      reserved: [
        // Array methods
        'reduce', 'map', 'filter', 'forEach', 'some', 'every',
        'find', 'findIndex', 'includes', 'indexOf', 'slice',
        'splice', 'concat', 'join', 'push', 'pop', 'shift',
        'unshift',
        
        // Core objects
        'Array', 'Object', 'String', 'Number', 'Boolean',
        'Function', 'Promise', 'Symbol', 'Set', 'Map',
        
        // React
        'React', 'ReactDOM'
      ]
    },
    output: {
      comments: false,
      beautify: false,
      webkit: true
    }
  });

  if (minified.error) {
    throw new Error(minified.error);
  }
  return minified.code;
}

Don't miss a new obsidian-excalidraw-plugin release

NewReleases is sending notifications on new releases.