interface-portal-plugin

0.1.10 • Public • Published

interface-portal-plugin

Install

npm install interface-portal-plugin

Feat

add cache feat.

Usage

in your webpack config file

const InterfacePortalPlugin = require("interface-portal-plugin");
...

plugins: [
  ... // other plugin
  new InterfacePortalPlugin({ apitPath: 'your openapi json path' })
  ],

when your build project with watch mode, the swagger_interface dir well be create, end use import interface to your .ts file.

please don't push swagger_interface dir to your code repository.

Readme

Keywords

none

Package Sidebar

Install

npm i interface-portal-plugin

Weekly Downloads

9

Version

0.1.10

License

MIT

Unpacked Size

3.66 kB

Total Files

4

Last publish

Collaborators

  • reinhardhu