mirror of
https://github.com/shoelace-style/shoelace.git
synced 2026-01-12 02:59:13 +00:00
fix build dir
This commit is contained in:
@@ -22,9 +22,7 @@ const { bundle, dir, serve, types } = commandLineArgs([
|
||||
{ name: 'types', type: Boolean }
|
||||
]);
|
||||
|
||||
const __dirname = new URL('.', import.meta.url).pathname;
|
||||
const rootDir = path.dirname(__dirname);
|
||||
const outdir = path.relative(rootDir, dir);
|
||||
const outdir = dir;
|
||||
|
||||
del.sync(outdir);
|
||||
mkdirp.sync(outdir);
|
||||
|
||||
Reference in New Issue
Block a user