Skip to content
This repository was archived by the owner on Dec 6, 2021. It is now read-only.

v9.1.0

Choose a tag to compare

@egoist egoist released this 06 Jul 04:35
· 422 commits to master since this release

Breaking changes

This should be published as poi@10.0.0, sorry for that.

  • Upgrade to vue-loader 13.0.0 (Only affect vue users)
  • Upgrade to postcss-loader 2

Basically you need to:

# this is not required in vue 2.4 + vue-router 2.7
- const Foo = () => import('./Foo.vue')
+ const Foo = () => import('./Foo.vue').then(m => m.default)

# this change is always required
- const Foo = require('./Foo.vue')
+ const Foo = require('./Foo.vue').default

This is due to .vue file now exports ES modules instead of CommonJS modules.

And update your postcss plugins.

New features