Closed a-x- closed 7 years ago
/cc @zxqfox
as a another solution bem-decl make use fetch
instead of fs in the browser enviroment.
on the other hand it may switch off fs
for browsers ever
i made my own fork now: https://github.com/bem-kit/bem-decl
using:
const bemdeclNormalize = require('bem-decl/lib/normalize')
[invalid]
require('bem-decl/lib/normalize')
works perfectly in the main bem-sdk trunk now.
current obstacle is:
lib/index.js:
lib/load.js:
ll be cool, if lib/index.js ll not agregate all lib modules into itself