To ignore certain files when building webpack application.
$ npm install --save-dev ignore-loader
- In
webpack.config.js
module.exports = {
// other configurations
module: {
loaders: [
{ test: /\.css$/, loader: 'ignore-loader' }
]
}
};