Open walljm opened 6 years ago
I'm on Ionic 4. I had to change line 35 of minifier.js to this:
_this.platformPaths.push(path.join(_this.basePath, platform,'app', 'src', 'main', 'assets', 'www'));
to get it working.
upstream cordova-uglify solved it this way: https://github.com/rossmartin/cordova-uglify/commit/eca730222c0bc9816c3b8f096c985fb999c13135
Which is similar to your solution, but should be backward compatible as well.
I'm on Ionic 4. I had to change line 35 of minifier.js to this:
_this.platformPaths.push(path.join(_this.basePath, platform,'app', 'src', 'main', 'assets', 'www'));
to get it working.