Added build target without css, started using prettier intead of linting

This commit is contained in:
Yev Vlasenko
2017-12-28 18:27:58 +00:00
parent d302df7310
commit d3198e1388
11 changed files with 984 additions and 65 deletions

View File

@@ -19,7 +19,7 @@ const types = [
}
]
var getType = (value) => {
var getType = value => {
if (value === 'auto') {
return {
type: value,
@@ -43,7 +43,7 @@ var getType = (value) => {
}
}
export const parse = (value) => {
export const parse = value => {
switch (typeof value) {
case 'number':
return { type: 'px', value }