How to make Font awesome 5 work with webpack

I’m trying to use Fontawesome in my Flask/webpack project. The craziest thing is some point it worked then stopped, I changed something stupid, it worked again and finally it stopped working completely. What I have: package config: webpack config (rules section): webpack, entry section: myStyles.js: The last line though caused the error in Chrome: I … Read more

Webpack: “there are multiple modules with names that only differ in casing” but modules referenced are identical

This is usually a result of a minuscule typo. For instance, if you are importing your modules like import Vue from ‘vue’, import Vuex from ‘vuex’. Go through your files and check where you used from ‘Vue’ or from ‘Vuex’ – make sure to use the exact same capitals (uppercase letters) as in your import statements. The error descriptions should have … Read more