Skip to content

Combeenation/webpack-hive-itf-to-obj-plugin

Repository files navigation

Webpack Plugin: Convert Hive interfaces to JS objects

Compile TypeScript interfaces of Hive Records into JavaScript objects to validate at runtime.

This repository contains a webpack plugin required for creating Combeenation custom JS applications.

The plugin expects files with interface definitions within ./src/typings/*.hive.d.ts.

These interfaces will be converted to JS objects and saved under ./src/typings-generated-objs/*.hive.d-ti.js.

Installation

npm install --save-dev @combeenation/webpack-hive-itf-to-obj-plugin

Usage

The plugin should be added to every webpack config for Combeenation custom JS applications.

For detailed documentation why this is required see according custom JS utils docs

About

Webpack plugin to convert 'Hive Interfaces' to JS objects

Resources

License

Stars

Watchers

Forks

Packages

No packages published