File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,8 @@ module.exports = [
4040 {
4141 files : [ '*.js' ] ,
4242 rules : {
43- '@typescript-eslint/explicit-function-return-type' : 'off'
43+ '@typescript-eslint/explicit-function-return-type' : 'off' ,
44+ '@typescript-eslint/no-require-imports' : 'off'
4445 }
4546 }
4647] ;
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ const CopyWebpackPlugin = require('copy-webpack-plugin');
77const { CleanWebpackPlugin } = require ( 'clean-webpack-plugin' ) ;
88const autoprefixer = require ( 'autoprefixer' ) ;
99
10- module . exports = {
10+ module . exports = {
1111 mode : 'production' ,
1212 entry : './src/index.tsx' ,
1313 output : {
Original file line number Diff line number Diff line change 11const webpackConfig = require ( './webpack.config' ) ;
22
33module . exports = {
4- ...webpackConfig ,
4+ ...webpackConfig ,
55 mode : 'development' ,
66 plugins : webpackConfig . plugins . splice ( 1 ) ,
77 devServer : {
You can’t perform that action at this time.
0 commit comments