extend(config, { isDev, isClient }) {
      if (isDev && isClient) {
        config.mode = 'development'
        config.devtool = 'source-map'
        config.module.rules.push({
          enforce: 'pre',
          test: /\.(js|vue)$/,
          loader: 'eslint-loader',
          exclude: /(node_modules)/
        })
      }
    }
/*
     ** You can extend webpack config here
     */
You can extend webpack config here
You can extend webpack config here
extend(config, { isDev, isClient }) {
      if (isDev && isClient) {
        config.mode = 'development'
        config.devtool = 'source-map'
        config.module.rules.push({
          enforce: 'pre',
          test: /\.(js|vue)$/,
          loader: 'eslint-loader',
          exclude: /(node_modules)/
        })
      }
    }
extend ( config , { isDev , isClient } ) { if ( isDev && isClient ) { config . mode = 'development' config . devtool = 'source-map' config . module . rules . push ( { enforce : 'pre' , test : / \.(js|vue)$ / , loader : 'eslint-loader' , exclude : / (node_modules) / } ) } }
You can extend webpack config here
You can extend webpack config here