0
Visual Studio 태스크 러너 탐색기를 통해 노드를 사용하여 node_modules (xxx.min.js 파일)의 파일을 ASP.NET 핵심 애플리케이션의 wwwroot로 복사합니다. 파일이 이미 체크인 된 경우 오류가 발생합니다. Visual Studio 프로젝트 파일이 이미 있고 체크 아웃되지 않은 경우 체크 아웃하려고합니다. 노드로 어떻게 할 수 있습니까?노드 스크립트를 통해 Visual Studio 2017 파일 체크 아웃
내 package.json 파일에서 태스크 러너 탐색기를 실행하는 스크립트 명령을 내 보냅니다.
{
"version": "6.0.0",
"name": "domain.basisarchitectuur.web",
"private": true,
"dependencies": {
"jquery": "^1",
"jquery-ui-1-11-1": "^1.11.1",
"underscore": "^1.6.0",
"bootstrap": "^3.3.4"
},
"scripts": {
"expose-vendor-scripts": "node .\\node\\copy-vendor-scripts-to-wwwroot.js"
}
}