Skip to content

Commit 6021eb2

Browse files
author
Jaroslaw
committed
Fix json
1 parent 130def6 commit 6021eb2

29 files changed

+6956
-227
lines changed

.babelrc

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,13 @@
11
{
2-
"presets": ["next/babel"],
3-
"plugins": [
4-
"inline-react-svg",
5-
["styled-components",
6-
{ "ssr": true }
7-
],
8-
[
9-
"module-resolver",
10-
{
11-
"alias": {
12-
"@": "./src"
13-
}
2+
"presets": ["next/babel"],
3+
"plugins": [
4+
[
5+
"module-resolver",
6+
{
7+
"alias": {
8+
"@": "./src"
149
}
10+
}
1511
]
16-
]
17-
}
12+
]
13+
}

.eslintrc.js

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
module.exports = {
2+
env: {
3+
browser: true,
4+
es2021: true,
5+
},
6+
extends: [
7+
"eslint:recommended",
8+
"plugin:react/recommended",
9+
"plugin:@typescript-eslint/recommended",
10+
],
11+
parser: "@typescript-eslint/parser",
12+
parserOptions: {
13+
ecmaFeatures: {
14+
jsx: true,
15+
},
16+
ecmaVersion: 12,
17+
sourceType: "module",
18+
},
19+
plugins: ["react", "@typescript-eslint"],
20+
rules: {
21+
"react/react-in-jsx-scope": "off",
22+
},
23+
globals: {
24+
React: "writable",
25+
},
26+
};

Dockerfile

Lines changed: 0 additions & 17 deletions
This file was deleted.

all.d.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

codegen.yml

Lines changed: 0 additions & 9 deletions
This file was deleted.

jest.config.js

Lines changed: 0 additions & 7 deletions
This file was deleted.

next.config.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
const withTM = require("next-transpile-modules")([
2+
"three",
3+
"react-three-fiber",
4+
"drei",
5+
]);
6+
7+
module.exports = withTM({
8+
webpack(config, options) {
9+
config.module.rules.push({
10+
test: /\.(glb|gltf)$/,
11+
use: {
12+
loader: "file-loader",
13+
},
14+
});
15+
16+
return config;
17+
},
18+
});

0 commit comments

Comments
 (0)