mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
build(cleanupNodeModules): delete .bin folder
this is only needed for executing package scripts -> which we don't do in production fixes #1499
This commit is contained in:
parent
1528703ed9
commit
51f2e23c2f
@ -67,6 +67,7 @@ function cleanupNodeModules(basePath: string) {
|
|||||||
* TODO: check if we want removeSync to throw an error, if path does not exist anymore -> currently it will silently fail
|
* TODO: check if we want removeSync to throw an error, if path does not exist anymore -> currently it will silently fail
|
||||||
*/
|
*/
|
||||||
const extraFoldersDelete = new Set([
|
const extraFoldersDelete = new Set([
|
||||||
|
path.join(nodeModulesDirPath, ".bin"),
|
||||||
path.join(nodeModulesDirPath, "@excalidraw", "excalidraw", "dist", "dev"),
|
path.join(nodeModulesDirPath, "@excalidraw", "excalidraw", "dist", "dev"),
|
||||||
path.join(nodeModulesDirPath, "boxicons", "svg"),
|
path.join(nodeModulesDirPath, "boxicons", "svg"),
|
||||||
path.join(nodeModulesDirPath, "boxicons", "node_modules"),
|
path.join(nodeModulesDirPath, "boxicons", "node_modules"),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user