mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-11 22:44:45 +00:00
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) {
|
webpackRun(filename, options, includeModules, importsList, detectErrors, realCwd, callback) {
|
||||||
const self = this;
|
const self = this;
|
||||||
glob(fs.dappPath('.embark/versions') + '/*/*', (err, files) => {
|
glob(fs.dappPath('.embark/versions/*/*'), (err, files) => {
|
||||||
let versions;
|
let versions;
|
||||||
if (err) {
|
if (err) {
|
||||||
console.error(err);
|
console.error(err);
|
||||||
@ -110,7 +110,7 @@ class WebpackProcess extends ProcessWrapper {
|
|||||||
{
|
{
|
||||||
test: /\.js$/,
|
test: /\.js$/,
|
||||||
loader: "babel-loader",
|
loader: "babel-loader",
|
||||||
exclude: /(node_modules|bower_components|\.embark\/versions)/,
|
exclude: /(node_modules|bower_components|\.embark[\\/]versions)/,
|
||||||
options: {
|
options: {
|
||||||
presets: [
|
presets: [
|
||||||
[
|
[
|
||||||
|
Loading…
x
Reference in New Issue
Block a user