Browse Source

more specific path for watching extra webpack files

Alexander Rose 7 năm trước cách đây
mục cha
commit
e346841814
1 tập tin đã thay đổi với 5 bổ sung1 xóa
  1. 5 1
      webpack.config.js

+ 5 - 1
webpack.config.js

@@ -17,7 +17,11 @@ module.exports = {
     },
     plugins: [
         new ExtraWatchWebpackPlugin({
-            files: [ './**/*.vert', './**/*.frag', './**/*.glsl' ],
+            files: [
+                './build/node_modules/**/*.vert',
+                './build/node_modules/**/*.frag',
+                './build/node_modules/**/*.glsl'
+            ],
         }),
     ],
 }