win compat
This commit is contained in:
parent
314edadb57
commit
d0555fe23c
|
@ -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: [
|
||||
[
|
||||
|
|
Loading…
Reference in New Issue