@intouchg/webpack-theme-plugin
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

@intouchg/webpack-theme-plugin

Webpack plugin to run the Intouch Design System theme processor @intouchg/theme

Getting Started

Initialize and pass the plugin to Webpack. The plugin will read the .idsconfig.json file in the project root.

// webpack.config.js
const IntouchThemePlugin = require('@intouchg/webpack-theme-plugin')

// ...
webpackPlugins.push(new IntouchThemePlugin())

// .idsconfig.json
{
    "values": "theme/values.json",
    "groups": "theme/groups.json",
    "components": "theme/components.json",
    "variants": "theme/variants.json",
    "output": "theme/theme.js"
}

Readme

Keywords

none

Package Sidebar

Install

npm i @intouchg/webpack-theme-plugin

Weekly Downloads

1

Version

0.1.1

License

MIT

Unpacked Size

14.2 kB

Total Files

10

Last publish

Collaborators

  • ahamill
  • its-itadmins
  • jacobshepherd