Use local webpack

Use the locally installed `webpack` dependency. This way the `webpack`
dependency doesn't need to be installed globally and added to the PATH.
This commit is contained in:
Raul Santos
2021-09-22 13:37:03 +02:00
parent 4785f95b60
commit c8bd76bc90

View File

@@ -18,12 +18,12 @@ build-debug: $(GODOT_DEBUG_SESSION)-debug tsc-debug
@echo "build finished"
tsc:
node_modules/.bin/tsc -p ./
webpack --mode production
./node_modules/.bin/tsc -p ./
./node_modules/.bin/webpack --mode production
tsc-debug:
node_modules/.bin/tsc -p ./
webpack --mode development
./node_modules/.bin/tsc -p ./
./node_modules/.bin/webpack --mode development
$(GODOT_DEBUG_SESSION):
msbuild /p:Configuration=Release $(SOLUTION_DIR)/GodotDebugSession.sln