This commit is contained in:
roblou 2016-12-20 12:30:31 -08:00
Родитель 56bf71de52
Коммит f900b374f1
2 изменённых файлов: 10 добавлений и 14 удалений

Просмотреть файл

@ -14,7 +14,7 @@
"publisher": "msjsdiag",
"bugs": "https://github.com/microsoft/vscode-chrome-debug/issues",
"engines": {
"vscode": "^1.6.0"
"vscode": "^1.8.0"
},
"categories": [
"Debuggers"
@ -22,8 +22,8 @@
"license": "SEE LICENSE IN LICENSE.txt",
"dependencies": {
"vscode-chrome-debug-core": "3.8.2",
"vscode-debugadapter": "^1.15.0-pre.4",
"vscode-debugprotocol": "^1.15.0-pre.4"
"vscode-debugadapter": "^1.15.0",
"vscode-debugprotocol": "^1.15.0"
},
"devDependencies": {
"@types/mocha": "^2.2.32",
@ -39,7 +39,7 @@
"tslint": "^3.15.1",
"typemoq": "^0.3.3",
"typescript": "^2.0.3",
"webpack": "^1.13.3",
"webpack": "^2.2.0-rc.1",
"webpack-fail-plugin": "^1.0.5"
},
"scripts": {

Просмотреть файл

@ -15,17 +15,15 @@ module.exports = {
src: './src/chromeDebug.ts'
},
devtool: 'source-map',
resolve: {
extensions: ['.ts']
},
output: {
filename: 'out/bundle.js'
},
resolve: {
// Add '.ts' and '.tsx' as a resolvable extension.
extensions: ['', '.webpack.js', '.web.js', '.ts', '.tsx', '.js']
},
module: {
loaders: [
// all files with a '.ts' or '.tsx' extension will be handled by 'ts-loader'
{ test: /\.tsx?$/, loader: 'ts-loader' }
rules: [
{ test: /\.ts$/, exclude: /node_modules/, loader: 'ts-loader' },
]
},
externals: nodeModules,
@ -39,7 +37,5 @@ module.exports = {
target: 'node',
node: {
__dirname: false
},
libraryTarget: 'commonjs',
library: 'library'
}
};