fix babel

This commit is contained in:
Clément 2018-10-22 17:03:00 +02:00
parent 32f8e8a1ea
commit 1c35e83a58
3 changed files with 4 additions and 3 deletions

View File

@ -4,7 +4,7 @@
"@babel/preset-env",
{
"targets": {
"browsers": ["last 2 versions", "ie >= 9"]
"browsers": [">2.75%"]
}
}
]

View File

@ -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 $@

View File

@ -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;
}
}
}