Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 635 Bytes

README.md

File metadata and controls

20 lines (12 loc) · 635 Bytes

FATAL ERROR: ... JavaScript heap out of memory

NODE_OPTIONS=--max_old_space_size=8192 ionic cordova run android --livereload --external

Analyze and reduce dependencies size

  • npm run bundle-size-verifier-source-map

or

  • npm run bundle-size-verifier-webpack-json

How to colorize SVG pictures?

  • Import InlineSVGModule in screen's module
  • Replace with
  • set CSS "color" in screen's SCSS file
  • use fill="currentColor" or stroke="currentColor" in the modified SVG

Note: The "currentColor" trick works only for inline SVG, this is why we need a special module for this.