Closed tunnckoCore closed 8 years ago
What is it exactly you are asking for? chunk
and chunkfile
are both being exported.
chunk and chunkfile are both being exported.
Nope. It's exported Parser
thing. In which have .parse()
method with looks like .chunk()
(and maybe it is) but it is async (with callback), so it is not "pure`.chunk()
method in src. Also, there we dont have .chunkFile
The methods chunk
and chunkFile
are from the 4.0 alpha. Doing an npm install bless
will give you the stable version (3.0.3) that uses parse
. Can you verify the version you've installed by running npm list
?
@AaronAsAChimp is correct. You're certainly on the older v3 api (if not older). If you want access to v4.0.0-alpha.0
you would need to install it explicitly with npm install bless@4.0.0-alpha.0
.
Oh yea, didn't notice the versions, i'll try.
@tunnckoCore If you don't mind my asking are you building out a plugin for another build tool?
Yea. Im part of the @jstransformers organization. 120+ transformers. https://github.com/jstransformers/jstransformer-bless
Thanks! That works.
with just
chunk
andchunkFile
? :D