Hey Prashant, was trying to do this as per the link you shared as well. May be I am missing something.
module: {
loaders: [
{
test: /\.scss$/,
loader: ExtractTextPlugin.extract('style!css!sass')
},
{
test: /\.jsx*$/,
exclude: [/node_modules/, /.+\.config.js/],
loader: 'babel',
query: {
presets: ['react-hmre'],
},
},
],
},
plugins: [
new webpack.HotModuleReplacementPlugin(),
new webpack.DefinePlugin({
'process.env': {
CLIENT: JSON.stringify(true)
}
}),
new ExtractTextPlugin('app.css', {
allChunks: true
})
],
I get an error saying unexpected token, in the .scss file that I import in my container.
So I have a parent level app.css file, as in the original kit. I want to keep that but for the individual components/containers, I would like to have their own scss files. Can you guide how to do that?