Skip to content

Commit 89f36b6

Browse files
authored
Merge pull request #117 from wleslie/master
Recursively create output directory
2 parents a8d9e87 + 64c2840 commit 89f36b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ class WasmPackPlugin {
123123

124124
_makeEmpty() {
125125
try {
126-
fs.mkdirSync(this.outDir)
126+
fs.mkdirSync(this.outDir, {recursive: true})
127127
} catch (e) {
128128
if (e.code !== 'EEXIST') {
129129
throw e

0 commit comments

Comments
 (0)