fix(build): rebuild ui assets on npm install

This commit is contained in:
Łukasz Mierzwa
2020-09-20 18:06:52 +01:00
committed by Łukasz Mierzwa
parent e5247eb96e
commit c874bdce3d

View File

@@ -19,7 +19,7 @@ $(NODE_INSTALL): package.json package-lock.json
$(NODE_PATH)/%: $(NODE_INSTALL)
@if [ ! -x $@ ]; then echo "missing script: $@" ; exit 1; fi
build/index.html: $(NODE_PATH)/react-scripts $(call rwildcard, public src, *)
build/index.html: $(NODE_INSTALL) $(NODE_PATH)/react-scripts $(call rwildcard, public src, *)
@rm -fr node_modules/.cache/eslint-loader
npm run build