fix babel
This commit is contained in:
parent
32f8e8a1ea
commit
1c35e83a58
2
.babelrc
2
.babelrc
@ -4,7 +4,7 @@
|
||||
"@babel/preset-env",
|
||||
{
|
||||
"targets": {
|
||||
"browsers": ["last 2 versions", "ie >= 9"]
|
||||
"browsers": [">2.75%"]
|
||||
}
|
||||
}
|
||||
]
|
||||
|
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 $@
|
||||
|
@ -1,6 +1,6 @@
|
||||
//button, checkbox, color, date, datetime-local, email, file, hidden, image, month, number, password, radio, range, reset, search, submit, tel, text, time, url, week, datetime
|
||||
|
||||
.form-view{
|
||||
.form-view {
|
||||
@extend %frame;
|
||||
padding: 1em;
|
||||
}
|
||||
@ -97,6 +97,7 @@ sib-form {
|
||||
cursor: pointer;
|
||||
margin: 0.2em;
|
||||
vertical-align: middle;
|
||||
padding: 0 0.04em 0.08em;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user