Przeglądaj źródła

Alias resizable

sebavan 6 lat temu
rodzic
commit
63e8e08c20
2 zmienionych plików z 4 dodań i 1 usunięć
  1. 1 1
      .vscode/tasks.json
  2. 3 0
      inspector/webpack.config.js

+ 1 - 1
.vscode/tasks.json

@@ -36,7 +36,7 @@
                 "background": {
                     "activeOnStart": true,
                     "beginsPattern": "Starting \\'run\\'",
-                    "endsPattern": "Entrypoint babylonjs-gui = babylon.gui.min.js babylon.gui.min.js.map"
+                    "endsPattern": "Entrypoint babylonjs-gui"
                 }
             }
         },

+ 3 - 0
inspector/webpack.config.js

@@ -21,6 +21,9 @@ module.exports = {
     },
     resolve: {
         extensions: [".js", '.ts', ".tsx"],
+        alias: {
+            "re-resizable$": path.resolve(__dirname, '../node_modules/re-resizable/lib/index.js')
+        }
     },
     externals: [
             {