소스 검색

more specific path for watching extra webpack files

Alexander Rose 7 년 전
부모
커밋
e346841814
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  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'
+            ],
         }),
     ],
 }