@quasar/icon-factory different results between 'build' and 'dev' ?



  • Hi all,
    i don’t know if this would be better posted as issue in the icon-factory repository -
    could be related:
    #57 Move Cache into .icon-factory
    #64 Extension always rebuild image set

    the icon-factory created a folder ‘static’ in my root project directory with all the build icons.
    i added them to git, as i thought - fine lets track these asserts…
    but if i switch between quasar dev and quasar build --debug these files get recreated -
    but i configured the minification to the same for both:

    {
      "@quasar/icon-factory": {
        "minify_dev": "optipng",
        "minify_build": "optipng",
        "cordova": {
          "background_color": "#000074",
          "splashscreen_type": "pure"
        },
        "build_always": false,
        "__internal": {
          "dev": {
            "spa": {
              "iconHash": "a02f4f34575297041747ae059a203f2c"
            },
            "electron": {
              "iconHash": "a02f4f34575297041747ae059a203f2c"
            }
          },
          "build": {
            "spa": {
              "iconHash": "a02f4f34575297041747ae059a203f2c"
            },
            "electron": {
              "iconHash": "a02f4f34575297041747ae059a203f2c"
            }
          }
        }
      }
    }
    

    also when i set "minify_build": "optipng", then do a quasar build and then try again but change to "minify_build": "zopfli", the icon files do not change (according to git)

    any thoughts are welcome 🙂

    sunny greetings
    stefan


Log in to reply