commit inicial do projeto
Some checks failed
Test / test (macos-latest) (push) Waiting to run
Test / test (windows-latest) (push) Waiting to run
Test / test (ubuntu-latest) (push) Failing after 13m2s

This commit is contained in:
Junior
2026-04-21 18:18:56 -03:00
commit 15e6692647
187 changed files with 102037 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
const fs = require('fs');
const path = require('path');
const rimraf = require('rimraf');
const webpackPaths = require('../configs/webpack.paths').default;
function deleteSourceMaps() {
if (fs.existsSync(webpackPaths.distMainPath))
rimraf.sync(path.join(webpackPaths.distMainPath, '*.js.map'), {
glob: true,
});
if (fs.existsSync(webpackPaths.distRendererPath))
rimraf.sync(path.join(webpackPaths.distRendererPath, '*.js.map'), {
glob: true,
});
}
module.exports = deleteSourceMaps;