Semantic-Org / Semantic-UI-LESS

LESS only distribution
http://www.semantic-ui.com
200 stars 119 forks source link

less-loader: Unrecognised input #37

Open thupi opened 6 years ago

thupi commented 6 years ago

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 commented 6 years ago

The same issue.

msakauye commented 6 years ago

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