From d0555fe23cb4fbb899f20c14185dcc25d05b33a7 Mon Sep 17 00:00:00 2001 From: "Michael Bradley, Jr" Date: Mon, 30 Jul 2018 15:36:05 -0500 Subject: [PATCH] win compat --- lib/pipeline/webpackProcess.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/pipeline/webpackProcess.js b/lib/pipeline/webpackProcess.js index 916fdb61d..f9758c504 100644 --- a/lib/pipeline/webpackProcess.js +++ b/lib/pipeline/webpackProcess.js @@ -43,7 +43,7 @@ class WebpackProcess extends ProcessWrapper { webpackRun(filename, options, includeModules, importsList, detectErrors, realCwd, callback) { const self = this; - glob(fs.dappPath('.embark/versions') + '/*/*', (err, files) => { + glob(fs.dappPath('.embark/versions/*/*'), (err, files) => { let versions; if (err) { console.error(err); @@ -110,7 +110,7 @@ class WebpackProcess extends ProcessWrapper { { test: /\.js$/, loader: "babel-loader", - exclude: /(node_modules|bower_components|\.embark\/versions)/, + exclude: /(node_modules|bower_components|\.embark[\\/]versions)/, options: { presets: [ [