Skip to content
This repository has been archived by the owner on Jun 23, 2023. It is now read-only.

Commit

Permalink
Update packup.mjs
Browse files Browse the repository at this point in the history
  • Loading branch information
linonetwo committed May 30, 2023
1 parent 0081552 commit 0d9f784
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/dev/packup.mjs
Original file line number Diff line number Diff line change
@@ -75,7 +75,7 @@ export const buildEntries = async (entries, metaMap) => {
});
buildResult.outputFiles.forEach((out) => {
const outKey = out.path.replace(path.resolve(DISTNATION_DIRECTORY), SOURCE_DIRECTORY).replace(`/plugins/${pluginTitle}`, '');
const outName = outKey.replace(SRC_PLUGIN_DIRECTORY, '').replaceAll('/', '-');
const outName = outKey.replace(SRC_PLUGIN_DIRECTORY, '').replaceAll('/', '-').replaceAll('\\', '-');
fs.writeFileSync(
path.join(DISTNATION_DIRECTORY, 'tiddlers', `${outName}.dist.tid`),
`${metaMap[outKey]}\n\n${out.text

0 comments on commit 0d9f784

Please sign in to comment.