Skip to content

Commit

Permalink
mkdirp update
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Apr 10, 2023
1 parent 6522670 commit f5badc6
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6,207 deletions.
2 changes: 1 addition & 1 deletion jspm.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Chomp.registerTemplate('jspm', function ({ name, targets, deps, env, templateOpt
run: ` import { Generator } from '@jspm/generator';
import { readFile, writeFile } from 'fs/promises';
import { pathToFileURL } from 'url';
import mkdirp from 'mkdirp';
import { mkdirp } from 'mkdirp';
import { dirname } from 'path';
const generator = new Generator({
Expand Down
2 changes: 1 addition & 1 deletion ncc.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Chomp.registerTemplate('ncc', ({ name, targets, deps, env, templateOptions: { as
run: ` import ncc from '@vercel/ncc';
import path from 'path';
import { writeFileSync } from 'fs';${assets ? `
import mkdirp from 'mkdirp';` : ''}
import { mkdirp } from 'mkdirp';` : ''}
const { code, map, assets } = await ncc(path.resolve(process.env.DEP), {
filename: process.env.DEP,${typeof esm === 'boolean' ? `
Expand Down
2 changes: 1 addition & 1 deletion svelte.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Chomp.registerTemplate('svelte', function ({ name, targets, deps, env, templateO
import { compile${svelteConfig || sveltePreprocess ? ', preprocess' : ''} } from 'svelte/compiler';
import MagicString from 'magic-string';
import { parse } from 'es-module-lexer/js';
import mkdirp from 'mkdirp';
import { mkdirp } from 'mkdirp';
import { dirname, extname } from 'path';
${sveltePreprocess ? ` import sveltePreprocess from 'svelte-preprocess';\n` : ''}
${svelteConfig
Expand Down

0 comments on commit f5badc6

Please sign in to comment.