Skip to content
This repository has been archived by the owner on Dec 26, 2018. It is now read-only.

5.0.0

Compare
Choose a tag to compare
@yyx990803 yyx990803 released this 28 Oct 17:45
· 156 commits to master since this release

New

  • CSS output is now autoprefixed by default.

Changed

  • vue.config.js format has changed:

    // vue.config.js
    module.exports = {
      // configure a built-in compiler
      sass: {
        includePaths: [...]
      },
      // configure autoprefixer
      autoprefixer: {
        browsers: ['last 2 versions']
      },
      // register custom compilers
      customCompilers: {
        // for tags with lang="ts"
        ts: function (content, cb) {
          // compile some TypeScript...
          cb(null, result)
        }
      }
    }