Skip to content

Commit

Permalink
Merge pull request #262 from pkgw/engine-webpack
Browse files Browse the repository at this point in the history
ESM+webpackification of the engine code
  • Loading branch information
pkgw authored Sep 14, 2023
2 parents fd62581 + 1a56bf8 commit 35b985d
Show file tree
Hide file tree
Showing 328 changed files with 58,037 additions and 132,460 deletions.
17 changes: 14 additions & 3 deletions engine/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,27 @@
module.exports = {
root: true,
env: {
node: true
browser: true,
es6: true,
},
extends: [
"eslint:recommended"
],
parserOptions: {
ecmaVersion: 2020
ecmaVersion: 2020,
sourceType: "module"
},
globals: {
globalThis: true, // eventually aim to remove this
},
rules: {
"no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
"no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off"
"no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off",
// Temporary while we get the codebase up to speed:
"no-constant-condition": "off",
"no-empty": "off",
"no-extra-boolean-cast": "off",
"no-redeclare": "off",
"no-unused-vars": "off",
}
};
4 changes: 2 additions & 2 deletions engine/.gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/src/index.js
/src/index.js.map
/src/index.min.js
/src/index.min.js.LICENSE.txt
/tests/results.xml
/tsconfig.tsbuildinfo
/wwtlib/bin/
/wwtlib/obj/
Loading

0 comments on commit 35b985d

Please sign in to comment.