You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
470 B
JavaScript
21 lines
470 B
JavaScript
4 years ago
|
// eslint-disable-next-line import/no-extraneous-dependencies
|
||
|
const ESLintPlugin = require("eslint-webpack-plugin");
|
||
|
const rules = require("./webpack.rules");
|
||
|
|
||
|
module.exports = {
|
||
|
// Put your normal webpack config below here
|
||
|
module: {
|
||
|
rules: rules.concat([
|
||
|
{
|
||
|
test: /\.css$/,
|
||
|
use: [{ loader: "style-loader" }, { loader: "css-loader" }],
|
||
|
},
|
||
|
]),
|
||
|
},
|
||
|
plugins: [
|
||
|
new ESLintPlugin({
|
||
|
exclude: "node_modules",
|
||
|
}),
|
||
|
],
|
||
|
};
|