-
-
Notifications
You must be signed in to change notification settings - Fork 194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Usage with bootstrap #44
Comments
You have to extend your loader config a litte. You are only testing for Maybe this solves your problem. Change |
@flootr you were right, that did help. However I'm getting the following error now:
I'm guessing it's because I'm using icomoon and the loader isn't getting the file because it has a string after that e.g. "?-s4hnkc". Here is my icon.less file and it's the only one that's messing things up:
|
Did you install the appropriate loaders via npm? You may tweak your RegExp and leave out the
|
Yep, the error is saying that your loader wasn't applied. @flootr 's suggestion is correct. |
Did anyone ever get this working? |
Ok I think I got it working. This is the only way it would work, Bombs on :
|
The regexes listed for font-awesome-webpack (https://www.npmjs.com/package/font-awesome-webpack) worked well for me: webpack.config.js:
Also need to install the loaders, which might trip up people newer to webpack:
|
Thanks @jeffbmartinez Worked fine for me the loaders url and file, Used this configuration rules for webpack 2 in addition to less-loader ... |
Closing this since it is not related to the less-loader anymore. |
Hi,
I'm trying to use webpack with bootstrap using the less-loader. And I'm getting the following error:
This is my loader part of the config file:
Posted it in gitter, but I'm guessing it would hard to track there. Any ideas?
The text was updated successfully, but these errors were encountered: