Lp 1754894: Fix webpack development environment. user/dyrcona/lp1754894-webpack-dev-env-fix
authorJason Stephenson <jason@sigio.com>
Sat, 10 Mar 2018 22:04:25 +0000 (17:04 -0500)
committerJason Stephenson <jason@sigio.com>
Sat, 10 Mar 2018 22:04:25 +0000 (17:04 -0500)
Remove 'ignored: [/node_modules/]' from watchOptions in the
webpack.config.js devOptions so that files are installed properly
under build when using "npm run build."

This fixes the 24-offline-all-assets.t test when using the webpack
development environment.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Open-ILS/web/js/ui/default/staff/webpack.config.js

index 32e97b1..5df2016 100644 (file)
@@ -142,10 +142,7 @@ let devOptions = {
   ],
   watchOptions: {
     aggregateTimeout: 300,
-    poll: 1000,
-    ignored : [
-        /node_modules/
-    ]
+    poll: 1000
   }
 };