Closed boyarskiy closed 8 years ago
same boat here, waiting for solution
Same here. It does work when specifying custom configuration though.
Hi, from where do you import this file ? have you tried to change your target from ./font-awesome-styles
to ./font-awesome-styles.loader.js
?
require('font-awesome-webpack');
Yep should be something like this. According the readme :
The require statement should be present in your application code(Entry file or any other file required in entry file) and not in webpack.config.js.
@Ugarz it doesn't work. I'm using webpack 2.1-beta, it could be the reason. It works with custom js and less config files though.
Oh sorry reading too fast. Have you checked if this version production-ready yet ?
@Ugarz I don't really understand your question. If you asked about webpack version then it depends on what you consider 'production-ready'. For me it is.
YEah also on webpack 2 and not working
👍
Error: Can't resolve './font-awesome-styles' in '/node_modules/font-awesome-webpack' Webpack version: 2.1.0-beta.7