sebavan 5 лет назад
Родитель
Сommit
b404208163

+ 1 - 1
Playground/webpack.config.js

@@ -9,7 +9,7 @@ var config = babylonWebpackConfig({
     entry: "./legacy/legacy.ts",
     output: {
         globalObject: '(typeof self !== "undefined" ? self : typeof global !== "undefined" ? global : this)',
-        filename: "babylon.playground.bundle.js",
+        filename: "babylon.playground.js",
         path: path.resolve(__dirname, "public/dist"),
         publicPath: "./dist/",
         libraryTarget: 'umd',

+ 2 - 2
Tools/Config/config.json

@@ -641,7 +641,7 @@
         }
     },
     "playground": {
-        "distFile": "/Playground/public/dist/babylon.playground.bundle.js",
+        "distFile": "/Playground/public/dist/babylon.playground.js",
         "build": {
             "ignoreInWorkerMode": true,
             "ignoreInTestMode": true,
@@ -650,7 +650,7 @@
         }
     },
     "sandbox": {
-        "distFile": "/sandbox/public/dist/babylon.sandbox.bundle.js",
+        "distFile": "/sandbox/public/dist/babylon.sandbox.js",
         "build": {
             "ignoreInWorkerMode": true,
             "ignoreInTestMode": true,

+ 1 - 1
sandbox/public/index.html

@@ -23,7 +23,7 @@
 
     
     <script src="https://preview.babylonjs.com/inspector/babylon.inspector.bundle.js"></script>
-    <script src="https://preview.babylonjs.com/sandbox/babylon.sandbox.js"></script>
+    <script src="dist/babylon.sandbox.js"></script>
     
     <style>
         html,

+ 1 - 1
sandbox/webpack.config.js

@@ -7,7 +7,7 @@ var config = babylonWebpackConfig({
     entry: "./legacy/legacy.ts",
     output: {
         globalObject: '(typeof self !== "undefined" ? self : typeof global !== "undefined" ? global : this)',
-        filename: "babylon.sandbox.bundle.js",
+        filename: "babylon.sandbox.js",
         path: path.resolve(__dirname, "public/dist"),
         publicPath: "./dist/",
         libraryTarget: 'umd',