Closed creationix closed 10 years ago
This is almost implemented. Just fixing a few bugs related to cache state and overlayed trees interacting in interesting ways.
Done! https://twitter.com/creationix/status/439484112089665537 Now releasing to store as 0.2.2 so that self-hosting works again.
The current symlink based build system has issues with interop with other editors/platforms (who don't always have reliable symlinks). Also the current wildcard expansion rule is too primitive. Instead the new system will create a new file extension called
.rule
These will be written in JON syntax (A JSON-like subset of Jack that's a strict superset of JSON. Basically this will mean JSON with comments). The contents of this file will be an object with only one pre-defined property nameprogram
that tells it the name of the filter to use. Everything else will be passed to the filter as config data.These rules won't have wildcard expansion in the name, but will be able to create trees instead of blobs. This way a single rule could take a tree of js files and output a new tree of AMD files.