change options for debug and release
This commit is contained in:
Родитель
dcb8856f73
Коммит
7b23dd5a9b
|
@ -13,6 +13,6 @@ echo
|
|||
|
||||
echo -e "${magenta}Building extension ${nc}"
|
||||
echo
|
||||
yarn --cwd ../src/extension build
|
||||
yarn --cwd ../src/extension webpack
|
||||
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
"--extensionDevelopmentPath=${workspaceFolder}",
|
||||
"--extensionTestsPath=${workspaceFolder}/out/test"
|
||||
],
|
||||
"outFiles": ["${workspaceFolder}/out/test/**/*.js"],
|
||||
"outFiles": ["${workspaceFolder}/dist/test/**/*.js"],
|
||||
"preLaunchTask": "npm: watch"
|
||||
}
|
||||
]
|
||||
|
|
|
@ -97,7 +97,7 @@
|
|||
"lint": "yarn eslint ./src/**/*.{ts,tsx}",
|
||||
"postinstall": "node ./node_modules/vscode/bin/install",
|
||||
"test": "npm run compile && node ./node_modules/vscode/bin/test",
|
||||
"template-tests": "node ./dist/scripts/generate-test && node ./dist/scripts/run-tests",
|
||||
"template-tests": "node ./out/scripts/generate-test && node ./out/scripts/run-tests",
|
||||
"createVsixPackage": "vsce package --yarn -o \"./../../dist/webts-0.0.0-UNTRACKEDVERSION.vsix\""
|
||||
},
|
||||
"devDependencies": {
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"target": "es6",
|
||||
"outDir": "dist",
|
||||
"outDir": "out",
|
||||
"lib": ["es2017", "dom"],
|
||||
"sourceMap": true,
|
||||
"rootDir": "src",
|
||||
|
|
Загрузка…
Ссылка в новой задаче