snipt

Ctrl+h for KB shortcuts

Text only

Cordova slow/blocking build (mergeArm...)

1
2
3
4
5
It's because there are too much files in www/

In my case it was node_modules/ that I had to move from www/ to src/

I think the build phase tries to merge the files on the platform folder. But the more files, the slower it gets I guess
https://snipt.net/embed/ea7aa6df02a6f7952103252158385122/
/raw/ea7aa6df02a6f7952103252158385122/
ea7aa6df02a6f7952103252158385122
text
Text only
5
2019-08-17T23:25:52
True
False
False
May 23, 2016 at 09:50 AM
/api/public/snipt/147033/
cordova-slowblocking-build-mergearm
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a> <a href="#L-4">4</a> <a href="#L-5">5</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>It&#39;s because there are too much files in www/ </span><span id="L-2"><a name="L-2"></a> </span><span id="L-3"><a name="L-3"></a>In my case it was node_modules/ that I had to move from www/ to src/ </span><span id="L-4"><a name="L-4"></a> </span><span id="L-5"><a name="L-5"></a>I think the build phase tries to merge the files on the platform folder. But the more files, the slower it gets I guess </span></pre></div> </td></tr></table>
android, build, cordova, slow
1
2
3
4
5
6
7
8
--- 
+++ 
@@ -0,0 +1,5 @@
+It's because there are too much files in www/
+
+In my case it was node_modules/ that I had to move from www/ to src/
+
+I think the build phase tries to merge the files on the platform folder. But the more files, the slower it gets I guess
  • maslow
  • 3 years, 2 months ago