Navigation

    Quasar Framework

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. kc
    3. Posts
    K
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Posts made by kc

    • RE: How to disable filename hashing

      OK, here’s the complete solution for those who may be interested:

        chainWebpack (chain, { isServer, isClient }) {
          chain
            .output
            .filename('js/[name].js')
            .chunkFilename('js/[name].js')
          chain
            .plugin('mini-css-extract')
            .tap(args => [{ filename: 'css/[name].css' }, ...args]);
        },
      posted in Useful Tips (NEW)
      K
      kc
    • RE: How to disable filename hashing

      For those interested, I found the solution to disable runtime.js caching too:

      extendWebpack (cfg) {
      cfg.output.filename = ‘js/[name].js’
      cfg.output.chunkFilename = ‘js/[name].js’
      }

      now left with CSS caching, still struggling. Any pointer?

      posted in Useful Tips (NEW)
      K
      kc
    • How to disable filename hashing

      Hi, using vue cli, I could disable filename hashing by setting filenameHashing: false in vue.config.js. May I know how is this achieved in quasar? I have tried

      extendWebpack (cfg) {
      cfg.output.chunkFilename = ‘js/[name].js’
      }

      but this only removes the contenthash of some js files, while runtime.js and css files still contain the contenthash

      posted in Useful Tips (NEW)
      K
      kc