Skip to content

Properly render clientside templates#97

Open
megakoresh wants to merge 10 commits intorogeriopvl:masterfrom
megakoresh:patch-1
Open

Properly render clientside templates#97
megakoresh wants to merge 10 commits intorogeriopvl:masterfrom
megakoresh:patch-1

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