When starting the app in development mode no problems, on build I get the error...
private record(mediaStream: MediaStream): void {
this.audioContext = new AudioContext();
this.audioContext.audioWorklet.addModule('./../../../assets/js/converter-processor.js').then(() => {
// code
}
// code
}
Checked converter-processor.js for errors (none and does not use external modules).
Seems the file is not found?
Tried different solutions found on StakOverflow, no success ... :(