You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm also seeing an issue when using zodern:standard-minifier-js for source map support for my app when building for cordova or with --production. With the normal meteor minifier, my app builds and runs ok. On startup, I'm getting this error:
I don't think it's related to issue #23 as I still get the problem without hide-production-sourcemaps installed.
Happy to provide more info If you can let me know what else I can do to help debug the issue...
The text was updated successfully, but these errors were encountered:
rebound-software
changed the title
Cordova app fails to run in production mode with
Meteor app fails to build/run for Cordova or in production mode
Jul 31, 2023
I'm also seeing an issue when using zodern:standard-minifier-js for source map support for my app when building for cordova or with --production. With the normal meteor minifier, my app builds and runs ok. On startup, I'm getting this error:
Uncaught SyntaxError: Unexpected identifier 'o' (at e04e63491b71d3312668bf6772e33ff56210d9ac.js?meteor_js_resource=true:4474:51)
Which is from this code:
${t.toSourceMapGenerator(e,r).toJsComment()}`}
let o=sf(...s.concat(i));return this.executeFunction(o,a)}executeFunction(e,t)
^^^^^^
{return e(...t)}}class sg extends sp{constructor(e){super(),this.reflector=e,this._evalArgNames=[],this._evalArgValues=[],this._evalExportedVars=[]}createReturnStmt(e){let t=new tJ(new tz(this._evalExportedVars.map(e=>new tU(e,nl(e),!1))));t.visitStatement(this,e)}getArgs(){let e={};for(let t=0;t<this._evalArgNames.length;t++)e[this._evalArgNames[t]]=this._evalArgValues[t];return e}visitExternalExpr(e,t){return this._emitReferenceToExternal(e,this.reflector.resolveExternalReference(e.value),t),null}visitWrappedNodeExpr(e,t){return this._emitReferenceToExternal(e,e.node,t),null}visitDeclareVarStmt(e,t){return e.hasModifier(eN.Exported)&&this._evalExportedVars.push(e.name),super.visitDeclareVarStmt(e,t)}visitDeclareFunctionStmt(e,t){return e.hasModifier(eN.Exported)&&this._evalExportedVars.push(e.name),super.visitDeclareFunctionStmt(e,t)}visitDeclareClassStmt(e,t){return e.hasModifier(eN.Exported)&&this._evalExportedVars.push(e.name),super.visitDeclareClassStmt(e,t)}_emitReferenceToExternal(e,t,n){let r=this._evalArgValues.indexOf(t);if(-1===r){r=this._evalArgValues.length,this._evalArgValues.push(t);let e=sc({reference:t})||"val";this._evalArgNames.push(
jit_${e}_${r}
)}n.print(e,this._evalArgNames[r])}}/**I don't think it's related to issue #23 as I still get the problem without hide-production-sourcemaps installed.
Happy to provide more info If you can let me know what else I can do to help debug the issue...
The text was updated successfully, but these errors were encountered: