Webpack, less-loader - Unexpected token - Why?
I'm using Webpack (in a Windows environment) and I'm trying to use less-loader and extract-text-webpack-plugin to generate a css file. I have less , webpack-core and webpack also in my node_modules folder. In my app I use: require('./index.less'); My Webpack config: const path = require('path'); const ExtractTextPlugin = require("extract-text-webpack-plugin"); module.exports = { entry: [ './app/index.jsx' ], output: { path: path.join(__dirname, '/public'), filename: "js/app.js" }, module: { loaders: [{ test: /\.(js|jsx)$/, include: path.join(__dirname, '/app'), exclude: path.join(__dirname, '