You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While doing build work, I often open up dist/assets/vendor.js or dist/assets/vendor.css to inspect the contents (to confirm I didn't make any mistakes etc). It would be very convenient if we added delimiters surrounding each file that we concat.
Concretely, I am proposing:
Add support for a fileDelimeters option. A few special values could be used for substitution (e.g. {{FILE_PATH}} would be the path of the file being added).
Possible usage example: fileDelimeters: ['\n/* BEGIN {{FILE_PATH}} */', '\n/* END {{FILE_PATH}} */']
Default to "do nothing" (which means the built asset would be identical)
Update ember-cli to specify the fileDelimeters option in non-production builds.
Thoughts?
The text was updated successfully, but these errors were encountered:
While doing build work, I often open up
dist/assets/vendor.js
ordist/assets/vendor.css
to inspect the contents (to confirm I didn't make any mistakes etc). It would be very convenient if we added delimiters surrounding each file that we concat.Concretely, I am proposing:
fileDelimeters
option. A few special values could be used for substitution (e.g.{{FILE_PATH}}
would be the path of the file being added).fileDelimeters: ['\n/* BEGIN {{FILE_PATH}} */', '\n/* END {{FILE_PATH}} */']
fileDelimeters
option in non-production builds.Thoughts?
The text was updated successfully, but these errors were encountered: