bengsfort / rollup-plugin-generate-html-template

Rollup plugin for automatically injecting a script tag with the final bundle into an html file.
MIT License
60 stars 19 forks source link

Add more explicit error #6

Closed erhathaway closed 5 years ago

erhathaway commented 5 years ago

When using rollup with output.dir it gives a path error that might throw off some people if they don't feel like looking into the cause. This makes it more clear that you need to set output.file instead of output.dir for this to work..