react-figma-webpack-config

0.0.7 • Public • Published

webpack-config

npm version

Webpack config for react-figma projects

Installation

Install it with yarn:

yarn add react-figma-webpack-config html-webpack-inline-source-plugin html-webpack-plugin svg-inline-loader ts-loader webpack webpack-merge -D

Or with npm:

npm i react-figma-webpack-config html-webpack-inline-source-plugin html-webpack-plugin svg-inline-loader ts-loader webpack webpack-merge -D

Usage

At webpack config:

var configure = require('react-figma-webpack-config');
 
module.exports = configure();

Configuration also can be extended:

var configure = require('react-figma-webpack-config');
 
module.exports = configure({
    entry: {
        ui: './src/ui.js', // The entry point for your UI code
        code: './src/code.js' // The entry point for your plugin code
    },
    ...
});

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.7
    608
    • latest

Version History

Package Sidebar

Install

npm i react-figma-webpack-config

Weekly Downloads

534

Version

0.0.7

License

MIT

Unpacked Size

6.68 kB

Total Files

4

Last publish

Collaborators

  • ilyalesik