Month: December 2017

  • Angular prod build using “ng build /serve –prod”

    Angular prod build using “ng build /serve –prod”

    While working on my Electron application my login functionality didn’t function anymore.

    Root Cause

    Updated Angular CLI and uglify also got updated.  The newest uglify version breaks builds.

    Solution

    Run the following to temporarily go back to a working version:

    npm i [email protected] --save-exact && rm -rf package-lock.json node_modules && npm i && npm ls uglify-es

     

  • PHP Increase Max Upload

    To increase the max file size/post that a CMS (or any web application on the server) can handle… update the following on php.ini

    upload_max_filesize = 64M
    post_max_size = 64M
    max_execution_time = 300

     

  • WooCommerce Module for Taxes!

    I found a plugin that helps with product taxes for WooCommerce:

    TaxJar.com

    What I like about this plugin is that it keeps the tax database up to date without having to update the tax table.

    It has more support for other shopping cart software other than WooCommerce too!