Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
darian committed Nov 13, 2024
1 parent 3a7f985 commit 2d8bffc
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions esbuild/plugins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,26 +80,26 @@ function getAssetPaths(srcDir: string, outDir: string) {
const assetPaths = [
{
from: path.join(srcDir, 'popup', 'index.html'),
to: path.join(outDir, 'popup', 'index.html')
to: path.join(outDir, 'popup', 'index.html'),
},
{
from: path.join(srcDir, 'pages', 'progress-connect', 'index.html'),
to: path.join(outDir, 'pages', 'progress-connect', 'index.html')
to: path.join(outDir, 'pages', 'progress-connect', 'index.html'),
},
{
from: path.join(srcDir, '_locales', '**', '*'),
to: path.join(outDir, '_locales')
to: path.join(outDir, '_locales'),
},
{
from: path.join(srcDir, 'assets', '**', '*'),
to: path.join(outDir, 'assets')
}
to: path.join(outDir, 'assets'),
},
];

// normalize paths to use forward slashes
return assetPaths.map(({ from, to }) => ({
from: from.split(sep).join('/'),
to: to.split(sep).join('/')
to: to.split(sep).join('/'),
}));
}

Expand Down

0 comments on commit 2d8bffc

Please sign in to comment.