Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
__pycache__
*.pyc
dist/
node_modules/
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -1040,6 +1040,8 @@ endef
define GIT_IGNORE
__pycache__
*.pyc
dist/
node_modules/
endef

define HTML_FOOTER
Expand Down Expand Up @@ -1591,6 +1593,7 @@ eb-logs-default:
npm-init-default:
npm init -y
$(GIT_ADD) package.json
$(GIT_ADD) package-lock.json

npm-build-default:
npm run build
Expand Down Expand Up @@ -2109,12 +2112,13 @@ jenkins-init-default:
webpack-init-default: npm-init
@echo "$$WEBPACK_CONFIG_JS" > webpack.config.js
$(GIT_ADD) webpack.config.js
npm install --save-dev webpack webpack-cli
npm install --save-dev webpack webpack-cli webpack-dev-server
$(ADD_DIR) src/
@echo "$$WEBPACK_INDEX_JS" > src/index.js
$(GIT_ADD) src/index.js
@echo "$$WEBPACK_INDEX_HTML" > index.html
$(GIT_ADD) index.html
$(MAKE) gitignore

make-default:
$(GIT_ADD) Makefile
Expand Down
Loading