-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#3239 load clients from webpack server if possible.
- Loading branch information
Josh Pollock
committed
May 29, 2019
1 parent
dd63aed
commit cc4b7e4
Showing
2,785 changed files
with
407,045 additions
and
2,138 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
{ | ||
"presets": [ "@wordpress/default" ] | ||
} | ||
"presets": [ | ||
"@calderajs/babel-preset-calderajs" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
const fs = require('fs'); | ||
const path = require( 'path' ); | ||
[ | ||
__dirname + '/admin/build', | ||
__dirname + '/render/build', | ||
__dirname + '/privacy/build', | ||
//__dirname + '/blocks/build', | ||
].forEach( directory => { | ||
fs.readdir(directory, (err, files) => { | ||
if (err) throw err; | ||
for (const file of files) { | ||
console.log(path.join(directory, file)); | ||
fs.unlink(path.join(directory, file), err => { | ||
if (err) throw err; | ||
}); | ||
} | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.