absolvent / gore-gulp

Simple way to run and maintain React.js projects without any configuration.
MIT License
1 stars 0 forks source link

Improve entry point name resolution #8

Closed mcharytoniuk closed 9 years ago

mcharytoniuk commented 9 years ago

Currently dist directory holds files named with convention:

<package.name>.<entry point basename>.min.js

The problem occurs in the scenario when package holds several entry points with equal names:

|- directory_1
|  |- test.entry.js
|- directory_2
|  |-test.entry.js

Output file should be named like:

<package.name>.<directories separated with '.'>.<entry point basename>.min.js

For example:

my-package.directory_1.test.min.js
my-package.directory_2.test.min.js