import 'lightbox2/dist/css/lightbox.css';
./node_modules/lightbox2/dist/css/lightbox.css
Module parse failed: Unexpected token (1:26)
You may need an appropriate loader to handle this file type.
{
test: /\.(css|scss)$/,
exclude: /node_modules/,
use: ExtractTextPlugin.extract({
fallback: 'style-loader',
use: [
{
loader: 'style-loader',
},
{
loader: 'css-loader',
options: {
importLoaders: 1,
modules: true,
import: true
}
},
{
loader: 'postcss-loader'
},
{
loader: 'sass-loader'
},
{
loader: 'stylefmt-loader',
options: {
config: '.stylelintrc'
}
}
],
publicPath: distPath
})
},