Skip to content

Commit

Permalink
fix: Webpack bundling (#37)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Jeffery <daniel.jeffery@okta.com>
  • Loading branch information
d-jeffery and d-jeffery committed Aug 1, 2023
1 parent 107dfc5 commit 1ef5e5c
Show file tree
Hide file tree
Showing 6 changed files with 1,991 additions and 32 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
dist
out
node_modules
client/server
Expand Down
8 changes: 3 additions & 5 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@
"runtimeExecutable": "${execPath}",
"args": ["--extensionDevelopmentPath=${workspaceRoot}"],
"outFiles": ["${workspaceRoot}/client/out/**/*.js"],
"preLaunchTask": {
"type": "npm",
"script": "watch"
}
"preLaunchTask": "npm: webpack"
},
{
"name": "Language Server E2E Test",
Expand All @@ -24,7 +21,8 @@
"--extensionTestsPath=${workspaceRoot}/client/out/test/index",
"${workspaceRoot}/client/testFixture"
],
"outFiles": ["${workspaceRoot}/client/out/test/**/*.js"]
"outFiles": ["${workspaceRoot}/client/out/test/**/*.js"],
"preLaunchTask": "npm: compile"
}
]
}
3 changes: 2 additions & 1 deletion client/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"lib": ["es2020", "dom"],
"outDir": "out",
"rootDir": "src",
"sourceMap": true
"sourceMap": true,
"moduleResolution": "NodeNext"
},
"include": ["src"],
"exclude": ["node_modules", ".vscode-test"]
Expand Down
Loading

0 comments on commit 1ef5e5c

Please sign in to comment.