mirror of
https://github.com/jeffvli/feishin.git
synced 2024-11-20 14:37:06 +01:00
c9dbf9b5be
* draft add remotes * add favorite, rating * add basic auth
10 lines
356 B
JavaScript
10 lines
356 B
JavaScript
import path from 'path';
|
|
import rimraf from 'rimraf';
|
|
import webpackPaths from '../configs/webpack.paths';
|
|
|
|
export default function deleteSourceMaps() {
|
|
rimraf.sync(path.join(webpackPaths.distMainPath, '*.js.map'));
|
|
rimraf.sync(path.join(webpackPaths.distRemotePath, '*.js.map'));
|
|
rimraf.sync(path.join(webpackPaths.distRendererPath, '*.js.map'));
|
|
}
|