bem / webpack-bem-loader

Webpack BEM loader
Other
25 stars 14 forks source link

Support dynamic import() syntax #79

Closed keann closed 1 year ago

keann commented 6 years ago

While acorn itself won't support import() spec until it hasn't reached stage 4, in some cases it's rather painful not to be able to use this syntax in the same file with bem imports. Fortunately, falafel supports custom parser and we could manually use acorn with extended syntax support.

coveralls commented 6 years ago

Coverage Status

Coverage increased (+0.2%) to 93.082% when pulling ea42036efe1b95b50616f4620ed213d7410cdb10 on keann:dynamic-import-support into d509488d5397d53286dbec68a17f052e28e618b1 on bem:master.

nikita-ezhkov commented 5 years ago

Awaiting for the merge as well