We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a0e70a commit a21dfcdCopy full SHA for a21dfcd
packages/toolkit/scripts/build.ts
@@ -148,7 +148,8 @@ async function bundle(options: BuildOptions & EntryPointOptions) {
148
const outputFolder = path.join(...folderSegments)
149
const outputFilename = `${prefix}.${name}.js`
150
151
- fs.mkdirs(outputFolder)
+ await fs.ensureDir(outputFolder)
152
+
153
const outputFilePath = path.join(outputFolder, outputFilename)
154
155
if (format === 'cjs') {
0 commit comments