Fixes data-extraction tsconfig.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
"description": "A library that helps implementing data extractors for the Debug Visualizer VS Code extension.",
|
||||
"version": "0.12.0",
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/src/index.d.ts",
|
||||
"types": "dist/index.d.ts",
|
||||
"author": {
|
||||
"name": "Henning Dieterichs",
|
||||
"email": "henning.dieterichs@live.de"
|
||||
|
||||
16
data-extraction/test/tsconfig.json
Normal file
16
data-extraction/test/tsconfig.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"target": "esnext",
|
||||
"module": "commonjs",
|
||||
"strict": true,
|
||||
"skipLibCheck": true,
|
||||
"rootDir": "./",
|
||||
"resolveJsonModule": true,
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"newLine": "LF",
|
||||
"sourceMap": true,
|
||||
"noEmit": true
|
||||
},
|
||||
"include": ["./**/*"]
|
||||
}
|
||||
@@ -5,12 +5,12 @@
|
||||
"strict": true,
|
||||
"outDir": "./dist",
|
||||
"skipLibCheck": true,
|
||||
"rootDir": ".",
|
||||
"rootDir": "./src",
|
||||
"resolveJsonModule": true,
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"newLine": "LF",
|
||||
"sourceMap": true
|
||||
},
|
||||
"include": ["./src/**/*", "./test/**/*"]
|
||||
"include": ["./src/**/*"]
|
||||
}
|
||||
|
||||
@@ -36,7 +36,7 @@ module.exports = {
|
||||
},
|
||||
plugins: [
|
||||
new CleanWebpackPlugin({
|
||||
protectWebpackAssets: true,
|
||||
//protectWebpackAssets: true,
|
||||
cleanAfterEveryBuildPatterns: ["!**/*.d.ts", "!**/*.d.ts.map"],
|
||||
}),
|
||||
],
|
||||
|
||||
@@ -31,7 +31,7 @@ export class MonacoBridge {
|
||||
|
||||
const es5Lib = require("!!raw-loader!./lib.es5.d.ts.txt").default;
|
||||
const commonTypes = require.context(
|
||||
"!!raw-loader!@hediet/debug-visualizer-data-extraction/dist/src/",
|
||||
"!!raw-loader!@hediet/debug-visualizer-data-extraction/dist/",
|
||||
true,
|
||||
/.*.d.ts$/
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user