2
0
mirror of https://github.com/tenrok/BBob.git synced 2026-06-11 18:02:26 +03:00

refactor(*): convert to babel and generation to lib, es, dist folders (#2)

* refactor(*): convert to babel and generation to lib, es, dist

* chore(*): remove generated files

* fix(*): lint run command
This commit is contained in:
Nikolay Kostyurin
2018-09-09 23:55:28 +02:00
committed by GitHub
parent d22a2895a4
commit 32a7fb51da
76 changed files with 930 additions and 10174 deletions
+33
View File
@@ -0,0 +1,33 @@
import presetHTML5 from '@bbob/preset-html5';
export default presetHTML5.extend(tags => ({
...tags,
b: (...args) => ({
...tags.b(...args),
attrs: {
style: { fontWeight: 'bold' },
},
}),
i: (...args) => ({
...tags.b(...args),
attrs: {
style: { fontStyle: 'italic' },
},
}),
u: (...args) => ({
...tags.b(...args),
attrs: {
style: { textDecoration: 'underline' },
},
}),
s: (...args) => ({
...tags.b(...args),
attrs: {
style: { textDecoration: 'line-through' },
},
}),
}));