fix babel
This commit is contained in:
2
Makefile
2
Makefile
@ -52,7 +52,7 @@ $(DIST_DIR)/styles/index.css: src/styles/index.scss $(wildcard src/*.scss src/*/
|
||||
@node_modules/.bin/node-sass $< $@ --source-map true --source-map-contents || touch $@
|
||||
|
||||
# babel
|
||||
$(DIST_DIR)/%.js: src/%.js
|
||||
$(DIST_DIR)/%.js: src/%.js .babelrc
|
||||
@echo babel: $< ➜ $@
|
||||
@mkdir -p $(dir $@)
|
||||
@node_modules/.bin/babel $< --out-file $@ --source-maps || touch $@
|
||||
|
Reference in New Issue
Block a user