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
520 B
JavaScript
21 lines
520 B
JavaScript
4 years ago
|
// eslint-disable-next-line import/no-extraneous-dependencies
|
||
|
const ESLintPlugin = require("eslint-webpack-plugin");
|
||
|
|
||
|
module.exports = {
|
||
|
/**
|
||
|
* This is the main entry point for your application, it's the first file
|
||
|
* that runs in the main process.
|
||
|
*/
|
||
|
entry: "./src/main.js",
|
||
|
// Put your normal webpack config below here
|
||
|
module: {
|
||
|
// eslint-disable-next-line global-require
|
||
|
rules: require("./webpack.rules"),
|
||
|
},
|
||
|
plugins: [
|
||
|
new ESLintPlugin({
|
||
|
exclude: "node_modules",
|
||
|
}),
|
||
|
],
|
||
|
};
|