Commit 10fdbd29 authored by Robert Knight's avatar Robert Knight

Remove mkdirp in favor of fs.mkdirSync builtin

Remove a dependency that is no longer needed with current versions of
Node.
parent d1965fba
...@@ -80,7 +80,6 @@ ...@@ -80,7 +80,6 @@
"lodash.debounce": "^4.0.3", "lodash.debounce": "^4.0.3",
"lodash.get": "^4.3.0", "lodash.get": "^4.3.0",
"loose-envify": "^1.4.0", "loose-envify": "^1.4.0",
"mkdirp": "^0.5.1",
"mocha": "^7.0.0", "mocha": "^7.0.0",
"node-uuid": "^1.4.3", "node-uuid": "^1.4.3",
"npm-packlist": "^2.0.1", "npm-packlist": "^2.0.1",
......
...@@ -12,7 +12,6 @@ const coffeeify = require('coffeeify'); ...@@ -12,7 +12,6 @@ const coffeeify = require('coffeeify');
const exorcist = require('exorcist'); const exorcist = require('exorcist');
const log = require('fancy-log'); const log = require('fancy-log');
const envify = require('loose-envify/custom'); const envify = require('loose-envify/custom');
const mkdirp = require('mkdirp');
const watchify = require('watchify'); const watchify = require('watchify');
const minifyStream = require('./minify-stream'); const minifyStream = require('./minify-stream');
...@@ -61,7 +60,7 @@ function waitForever() { ...@@ -61,7 +60,7 @@ function waitForever() {
* waits forever otherwise. * waits forever otherwise.
*/ */
module.exports = function createBundle(config, buildOpts) { module.exports = function createBundle(config, buildOpts) {
mkdirp.sync(config.path); fs.mkdirSync(config.path, { recursive: true });
buildOpts = buildOpts || { watch: false }; buildOpts = buildOpts || { watch: false };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment