Explorar el Código

Revert "More cleanup on www"

This reverts commit e4ae017082.
main
Steve Ruiz hace 4 años
padre
commit
ca9e1981e6
Se han modificado 3 ficheros con 1688 adiciones y 47 borrados
  1. 4
    2
      packages/www/next.config.js
  2. 8
    5
      packages/www/package.json
  3. 1676
    40
      yarn.lock

+ 4
- 2
packages/www/next.config.js Ver fichero

@@ -1,5 +1,7 @@
1
-module.exports = {
1
+const withTM = require('next-transpile-modules')(['@tldraw/tldraw'])
2
+
3
+module.exports = withTM({
2 4
   reactStrictMode: true,
3 5
   webpack5: true,
4 6
   symlinks: false,
5
-}
7
+})

+ 8
- 5
packages/www/package.json Ver fichero

@@ -18,19 +18,22 @@
18 18
     "lint": "next lint"
19 19
   },
20 20
   "dependencies": {
21
+    "@babel/core": "^7.15.5",
22
+    "@babel/preset-env": "^7.15.4",
21 23
     "@stitches/react": "^1.0.0",
22 24
     "@tldraw/tldraw": "^0.0.57",
25
+    "@types/node": "^16.7.10",
26
+    "@typescript-eslint/eslint-plugin": "^4.30.0",
27
+    "@typescript-eslint/parser": "^4.30.0",
23 28
     "next": "^11.1.0",
29
+    "next-transpile-modules": "^8.0.0",
24 30
     "react": "^17.0.2",
25 31
     "react-dom": "^17.0.2"
26 32
   },
27 33
   "devDependencies": {
28
-    "@typescript-eslint/eslint-plugin": "^4.30.0",
29
-    "@typescript-eslint/parser": "^4.30.0",
30
-    "@types/node": "^16.7.10",
31
-    "@babel/core": "^7.15.5",
32
-    "@babel/preset-env": "^7.15.4",
34
+    "@babel/core": "^7.14.6",
33 35
     "@types/jest": "^26.0.23",
36
+    "@types/node": "^14.14.25",
34 37
     "@types/react": "^17.0.16",
35 38
     "@types/react-dom": "^17.0.9",
36 39
     "eslint": "7.32.0",

+ 1676
- 40
yarn.lock
La diferencia del archivo ha sido suprimido porque es demasiado grande
Ver fichero


Loading…
Cancelar
Guardar