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

v12.0.0-beta.9

Pre-release
Pre-release

Choose a tag to compare

@egoist egoist released this 07 Dec 17:08
· 333 commits to master since this release

😎 New Features

Now it's easier to write plugin names:

// poi.config.js
module.exports = {
  plugins: [
    {
      // equivalent to `poi-plugin-typescript`
      resolve: 'typescript'
    },
    {
      // equivalent to `@org/poi-plugin-typescript`
      resolve: '@org/typescript'
    },
    {
      // equivalent to `@poi/plugin-typescript`
      resolve: '@poi/typescript'
    }
  ]
}

You can also use CLI flag to add plugins: --plugin <name> or --plugins <name>. If the plugins added from CLI flags are already added from config file, they will be ignored.