Closed kl3ryk closed 9 years ago
My proposal is to use prefixed library names. If you are using single entry point this configuration file is sufficient:
{
"directories": {
"dest": "dest",
"lib": "src"
},
"name": "my-package"
}
If you want to configure several entry points you can use both glob pattern and prefixed names:
{
"directories": {
"lib1.dest": "dest",
"lib1.lib": "src/lib1",
"lib2.dest": "dest",
"lib2.lib": "src/lib2"
},
"name": "my-package"
}
I am considering nested objects also but I want this config to stay as close to official NPM's package.json spec as possible
Doable via:
{
"directories": {
"lib": [
"firstlib",
"secondlib"
]
}
}
In
package.json
eg:This feature will be appreciated by symfony developers. Applications written in symfony consist from Bundles. Each bundle can have it's own resources - images, javascripts, stylesheets etc. Eg.:
So we have javascript files splitted logically into different directories. There should be possibility to import files between bundles transparently. Eg.: Should be
Insetead of