Skip to content

6.0.0

Compare
Choose a tag to compare
@yyx990803 yyx990803 released this 28 Oct 16:28
· 254 commits to main since this release

New

  • Styles are now auto-prefixed by default.

Changed

  • Custom loader configuration now uses a vue block in your webpack config:

    module.exports = {
      // entry, output...
      module: {
        loaders: [{
          test: /\.vue$/, loader: 'vue'
        }]
      },
      vue: {
        // configure autoprefixer
        autoprefixer: {
          browsers: ['last 2 versions']
        },
        // custom loaders, this replaces the old vue.withLoaders({})
        loaders: {
          js: 'coffee'
        }
      },
      devtool: '#source-map'
    }