Skip to content

Content Tagged "webpack"

Page 1 of 1

Content Tagged "webpack"

Proxy Content from URL with Webpack Dev Server

December 21, 2017Categories: Software, Tutorial
An application I'm working with has a large amount of static files (path starting with '/files/' ) deployed on a mounted volume in Docker . They are subsequently served via nginx . for local development, I thought of two options: Add files to the local dev server (e.g. copy assets) Build a proxy…

Load FontAwesome Fonts with Webpack 2

January 23, 2017Category: Software
TL;DR: : Add the (s)css dependency to your main (s)css file and specify where to find the fonts too. Then use the proper loaders in your webpack.config.js file. The past few days I had trouble loading the font-awesome fonts with webpack. I tried quite a few solutions: Using the font-awesome-sass…

Make Electron work with Knex.js

December 16, 2016Categories: Software, Tutorial
To make my life easier (and because I hate writing SQL statements), I thought of installing an ORM. After some search, I've decided to use knex . Unfortunately, the moment I integrated it into my app, webpack started generating errors like: ERROR in ./~/knex/lib/dialects/maria/index.js Module not…

Electron AppUse SCSS, Luke!

December 2, 2016Categories: Project Management, Software
Traditionally, I've been a LESS supporter. The way it does mixins for example seems to me more intuitive. However, I noticed that my go-to framework ( bootstrap ) is now doing SASS-first and then LESS. So, one adapts... and the option in angular-cli makes things less painful. What was painful was…

Electron and WebPack - Live Reloads

December 2, 2016Categories: Software, Tutorial
I wanted to create a skeleton with Electron, Angular 2, capable of live reload while in development. I've settled on the following framework: Electron (d'oh!) Angular 2 Angular CLI (because it makes it easy to generate boilerplate code) SASS (SCSS in fact) Webpack 2 and Babel After a lot of trial…

Rise and Fall of WebPack Dev Server in My Project

December 1, 2016Category: Software
Disclaimer: This is a log of my journey developing an electron app. I'm working at a small electron app and I was experimenting with webpack-dev-server , so I can try to do live reloads. First, I've started the app as a web app (no electron dependencies whatsoever). At this stage, running: off…

All tags