Skip to content
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

less-loader: Unrecognised input #37

Open
thupi opened this issue Feb 7, 2018 · 2 comments
Open

less-loader: Unrecognised input #37

thupi opened this issue Feb 7, 2018 · 2 comments

Comments

@thupi
Copy link

thupi commented Feb 7, 2018

I just installed semantic-ui-less and used less-loader in order to include in my webpack setup. When i try to compile to project i got

module.exports = __webpack_public_path__ + "static/media/theme.05e4814c.config";
             ^
Unrecognised input
      in /Users/thupiceylons/wiseflow/app/src/localdata/reactjs/node_modules/semantic-ui-less/theme.config (line 1, column 15)

webpack: 3.8.1
less-loader: 4.0.5
less: 2.7.3

As far as i know the less loader is not able read theme.config :-) Or maybe somthing could be wrong with my webpack setup :-)

@edvardsk
Copy link

The same issue.

@msakauye
Copy link

found this on stackoverflow: https://stackoverflow.com/questions/48431157/webpack-semantic-ui-less-module-build-failed

Important bit seems to be adding the .config, .overrides, and .variables files to the exclude

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants