Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

react-figma/webpack-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

31 Commits

Repository files navigation

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
 },
 ...
});

About

Webpack config for react-figma projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

AltStyle によって変換されたページ (->オリジナル) /