processConfig(config) {
        // in dev mode, ignore CDN publicPath and use default '/' instead.
        config.build.publicPath = isFromCDN(config.build.publicPath)
            ? '/' : config.build.publicPath;

        /**
         * in dev mode, remove templatedPath which contains [hash] [chunkhash] and [contenthash] in filenames
         * https://github.com/webpack/webpack/issues/1914#issuecomment-174171709
         */
        Object.keys(config.build.filenames).forEach(key => {
            config.build.filenames[key] = removeTemplatedPath(config.build.filenames[key]);
        });
    }
process lavas config

@param {Object} config lavas config