Skip to content
This repository has been archived by the owner on Jul 22, 2022. It is now read-only.

Add a check for name != type of string for wbt-ts-browser #95

Open
gauntface opened this issue Jan 20, 2019 · 0 comments
Open

Add a check for name != type of string for wbt-ts-browser #95

gauntface opened this issue Jan 20, 2019 · 0 comments

Comments

@gauntface
Copy link
Owner

If you don't add a name but use the object for the ts->browser module, it won't error until it can't use config.src. This can be avoided by checking the name is valid in the browser function.

tsBrowser.gulpBuild({}) => Should throw because it should be tsBrowser.gulpBuild('libName', {})

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant