Move build target from npm to makefile
This commit is contained in:
parent
d3b374b631
commit
e56dabe9d5
@ -40,7 +40,7 @@ install-production: compile clean
|
||||
|
||||
.PHONY: compile
|
||||
compile: install
|
||||
$(bindir)/webpack --config webpack/index.js
|
||||
$(bindir)/babel src --out-dir dist --source-maps inline
|
||||
|
||||
.PHONY: build
|
||||
build:
|
||||
|
@ -8,7 +8,7 @@
|
||||
"start": "cd docs && npm start",
|
||||
"lint": "make lint",
|
||||
"test": "make test",
|
||||
"build": "babel src --out-dir dist --source-maps inline",
|
||||
"build": "make compile",
|
||||
"storybook": "start-storybook -p 6006",
|
||||
"build-storybook": "build-storybook"
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user