mirror of
https://github.com/zumbiepig/MineXLauncher.git
synced 2025-06-08 08:04:49 +00:00
. literally
This commit is contained in:
parent
30484e32c2
commit
635973dde2
2
build.ts
2
build.ts
@ -91,7 +91,7 @@ if (!isDev) {
|
||||
|
||||
console.log(chalk.cyan('Copying other files...\n'));
|
||||
copyFiles.forEach((file) => {
|
||||
const outputPath = file.replace(new RegExp(`^${srcDir}`), publicDir);
|
||||
const outputPath = file.replace(new RegExp(`^${srcDir}`), publicDir).replace(/\.js$/, '.js');
|
||||
mkdirSync(dirname(outputPath), { recursive: true });
|
||||
writeFileSync(outputPath, readFileSync(file));
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user