Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Properly render clientside templates #97

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

megakoresh
Copy link

Clientside templates will be named same as source files without extension, optionally adding settings.suffix to the end.
Set options.filename to file.basename for caching (speeds up gulp watch task when working).
New settings:
settings.suffix - when options.client is true, appends the string provided to the end of the generated clientside template.
Should fix issue #96

Clientside templates will be named same as source files without extension, optionally adding `settings.suffix` to the end.
Set options.filename to `file.basename` for caching (speeds up gulp watch task when working).
New settings:
`settings.suffix` - when `options.client` is `true`, appends the string provided to the end of the generated clientside template.
Should fix issue rogeriopvl#96
@megakoresh
Copy link
Author

Wow, you really have some crazy strict linting rules for such a small plugin!

@megakoresh
Copy link
Author

Finally, sheesh

If `name` attribute function is specified in settings, it will be used to generate name of the client template. The name function gets a reference to `file`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants