fix webpack config

This commit is contained in:
SethBurkart123
2023-08-30 16:42:57 +10:00
parent 75026bdc51
commit 530ae91c89
11 changed files with 427 additions and 389 deletions
+5 -3
View File
@@ -2,11 +2,13 @@
"env": {
"browser": true,
"commonjs": true,
"es2021": true
"es2021": true,
"node": true // add this line to allow Node.js-specific globals
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": "latest"
"ecmaVersion": "latest",
"sourceType": "module" // add this line to allow 'import' and 'export' statements
},
"rules": {
"indent": ["error", 2],
@@ -14,4 +16,4 @@
"quotes": ["error", "double"],
"semi": ["error", "always"]
}
}
}