ice/packages/types
ClarkXia 39dd32319c fix: add url prefix 2022-11-14 19:43:16 +08:00
..
src fix: add url prefix 2022-11-14 19:43:16 +08:00
CHANGELOG.md chore: refactor package structrue (#10) 2022-11-14 17:45:35 +08:00
README.md chore: refactor package structrue (#10) 2022-11-14 17:45:35 +08:00
package.json chore: bump dependencies version 2022-11-14 19:25:24 +08:00
tsconfig.json feat: runtime structure & output dir (#16) 2022-11-14 17:48:18 +08:00

README.md

@ice/types

@ice/types provides basic types of webpack framework ice.

Usage

develop plugin for ice:

// src/index.ts
import type { Plugin } from '@ice/types';

const plugin: Plugin = () => {};
export default plugin;

develop runtime plugin for ice:

// runtime/index
import type { RuntimePlugin } from '@ice/types';

const runtime: RuntimePlugin = () => {};
export default runtime;