This React TypeScript project template with Sass support is a good starting point for your large-scale figma plugin (using Webpack 5)
Download or clone it with the following command:
git clone https://github.com/eleanzhukova/figma-plugin-template.git
Install dependencies (for creating a node_modules directory with necessary packages):
npm install
Build the project (for getting a dist folder with bundled files):
npm run build
In Figma desktop app:
Plugins > Development > Import plugin from manifest...
Watch files for changes:
npm run watch
