Skip to content

Instantly share code, notes, and snippets.

Avatar
🌧️

Damien Clarke dxinteractive

🌧️
View GitHub Profile
@bbudd
bbudd / assets.md
Created Jun 13, 2019
Loading static assets using electron-forge v6 and the webpack plugin
View assets.md

I spent a few hours chasing down just how to get my static assets (css, fonts, images) to load in an Electron app built using electron-forge v6 (https://www.electronforge.io/) and its webpack plugin (https://www.electronforge.io/config/plugins/webpack) while in development mode. There really isn't any documentation available online, either in the electron-forge documentation or in places like blogs or gists or stackoverflow. So I thought I'd put it down here.

Step 1

Load CopyWebpackPlugin npm i -D copy-webpack-plugin


Step 2

Use the plugin to move your directories into place.

@acarabott
acarabott / faust-macos-homebrew.md
Last active Feb 27, 2021
Instructions for building Faust and FaustLive on macOS with Homebrew
View faust-macos-homebrew.md

Building Faust on macOS with Homebrew

If you haven't installed Homebrew get it from https://brew.sh/

Faust

git clone git@github.com:grame-cncm/faust.git
cd faust