win compat

This commit is contained in:
Michael Bradley, Jr 2018-07-30 15:36:05 -05:00 committed by Iuri Matias
parent 314edadb57
commit d0555fe23c
1 changed files with 2 additions and 2 deletions

View File

@ -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: [
[