瀏覽代碼

tests runtime

Raanan Weber 7 年之前
父節點
當前提交
2a35aea04f
共有 2 個文件被更改,包括 7 次插入4 次删除
  1. 5 1
      Viewer/tests/unit/webpack.config.js
  2. 2 3
      dist/preview release/what's new.md

+ 5 - 1
Viewer/tests/unit/webpack.config.js

@@ -42,8 +42,12 @@ module.exports = {
             }
         },
         {
-            test: /\.(jpe?g|png|ttf|eot|svg|woff(2)?)(\?[a-z0-9=&.]+)?$/,
+            test: /\.(jpe?g|png|ttf|eot|svg?)(\?[a-z0-9=&.]+)?$/,
             use: 'base64-image-loader?limit=1000&name=[name].[ext]'
+        },
+        {
+            test: /\.(woff|ttf|eot|svg)(\?v=[0-9]\.[0-9]\.[0-9])?$/,
+            loader: 'base64-font-loader'
         }]
     },
     devServer: {

+ 2 - 3
dist/preview release/what's new.md

@@ -100,7 +100,6 @@
 - Add isThumbClamped option on GUI slider control ([JeanPhilippeKernel](https://github.com/JeanPhilippeKernel))
 - Add floating point texture support for RenderTargetCubeTexture ([PeapBoy](https://github.com/NicolasBuecher))
 - Support for mutli-touch when interacting with multiple gui elements simultaneously ([trevordev](https://github.com/trevordev))
-(https://github.com/trevordev))
 - Added `Tools.WorkerPool` class for web worker management. ([bghgary](https://github.com/bghgary))
 - Support depth maps for multiple active cameras for post processes like depth of field ([trevordev](https://github.com/trevordev))
 - Integrates depth texture support in the engine ([sebavan](https://github.com/sebavan))
@@ -153,5 +152,5 @@
 - Removed public references to default rendering pipeline's internal post process ([trevordev](https://github.com/trevordev))
 - `Bone.setScale` does not support scaleChildren property anymore. You can use `Bone.scale` to achieve the same effect ([deltakosh](https://github.com/deltakosh))
 - Vector3 & Vector4:
-    - `MinimizeInPlace` has been renamed to `minimizeInPlace`
-    - `MaximizeInPlace` has been renamed to `maximizeInPlace`
+  - `MinimizeInPlace` has been renamed to `minimizeInPlace`
+  - `MaximizeInPlace` has been renamed to `maximizeInPlace`