You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//include: /(.*profile.*)/, // for some reason, webpack (4.25.1) will exclude files with names containing 'profile' (or 'profile-' not sure) so I has to explicitly include them
32
-
loader: "babel-loader",
33
-
},
34
-
{
35
-
test: /\.js$/,
36
-
exclude: /node_modules/,
37
-
loader: "babel-loader",
38
-
},
39
-
{
40
-
test: /\.jsx$/,
41
-
exclude: /node_modules/,
42
-
loader: "babel-loader",
43
-
}
28
+
{
29
+
test: /\.jsx$/,
30
+
exclude: /node_modules/,
31
+
//include: /(.*profile.*)/, // for some reason, webpack (4.25.1) will exclude files with names containing 'profile' (or 'profile-' not sure) so I has to explicitly include them
32
+
loader: "babel-loader",
33
+
},
34
+
{
35
+
test: /\.js$/,
36
+
exclude: /node_modules/,
37
+
loader: "babel-loader",
38
+
},
39
+
{
40
+
test: /\.jsx$/,
41
+
exclude: /node_modules/,
42
+
loader: "babel-loader",
43
+
}
44
44
]
45
-
},
45
+
},
46
46
resolve: {
47
-
extensions: ['.*','.js','.jsx'],
47
+
extensions: ['.*','.js','.jsx'],
48
48
fallback: {
49
49
"fs": false,
50
50
"os": require.resolve("os-browserify/browser"),
@@ -58,16 +58,16 @@ const config = {
58
58
59
59
}
60
60
},
61
-
plugins:[
62
-
newwebpack.IgnorePlugin({resourceRegExp: /clustered|dateFile|file|fileSync|gelf|hipchat|logFacesAppender|loggly|logstashUDP|mailgun|multiprocess|slack|smtp/},/(.*log4js.*)/),// these appenders are require()ed by log4js but not used by this app
63
-
newwebpack.IgnorePlugin({resourceRegExp: /nodemailer/}),// not used in the client side - those should be move outside of the app directory
64
-
61
+
plugins:[
62
+
newwebpack.IgnorePlugin({resourceRegExp: /clustered|dateFile|file|fileSync|gelf|hipchat|logFacesAppender|loggly|logstashUDP|mailgun|multiprocess|slack|smtp/},/(.*log4js.*)/),// these appenders are require()ed by log4js but not used by this app
63
+
newwebpack.IgnorePlugin({resourceRegExp: /nodemailer/}),// not used in the client side - those should be move outside of the app directory
64
+
65
65
// using a function because when this ran on heroku using just "../modules/client-side-model" failed
0 commit comments