From ca5437e72817ca6a5a1e143b571d87cc5f5f0fe2 Mon Sep 17 00:00:00 2001 From: ChenX Date: Thu, 19 Oct 2017 16:36:07 +0800 Subject: [PATCH] =?UTF-8?q?webpack=E9=85=8D=E7=BD=AE=E6=B7=BB=E5=8A=A0=20?= =?UTF-8?q?=E9=95=9C=E5=AD=90.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webpack.config.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webpack.config.js b/webpack.config.js index ba5fca08c..fb14178e6 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -27,6 +27,8 @@ module.exports = { "three-ShaderPass": path.resolve(__dirname, "./node_modules/three/examples/js/postprocessing/ShaderPass.js"), "three-SMAAPass": path.resolve(__dirname, "./node_modules/three/examples/js/postprocessing/SMAAPass.js"), // "stats-js": path.resolve(__dirname, './node_modules/stats.js/src/stats.js'), + + "three-Reflector": path.resolve(__dirname, "./src/objects/Reflector.js"), }, // Add '.ts' and '.tsx' as resolvable extensions. extensions: [".ts", ".tsx", ".js", "json"]