Skip to content

Instantly share code, notes, and snippets.

View JamesGrom's full-sized avatar

James Grom JamesGrom

  • Santa Clara University
  • Santa Clara California
View GitHub Profile
@ksaldana1
ksaldana1 / easymotion.json
Created August 23, 2019 16:54
easymotion settings in vscode
{
"vim.easymotion": true,
"vim.easymotionMarkerHeight": 20,
"vim.easymotionMarkerWidthPerChar": 12,
"vim.easymotionMarkerFontSize": "16",
"vim.easymotionMarkerBackgroundColor": "#428aff",
"vim.easymotionMarkerForegroundColorOneChar": "#fffcfc",
"vim.easymotionMarkerForegroundColorTwoChar": "#fffcfc",
"vim.easymotionMarkerFontFamily": "Arial",
"vim.normalModeKeyBindingsNonRecursive": [
@bbudd
bbudd / assets.md
Created June 13, 2019 12:30
Loading static assets using electron-forge v6 and the webpack plugin

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.