erikringsmuth / app-router

Router for Web Components
https://erikringsmuth.github.io/app-router/
MIT License
610 stars 83 forks source link

include copyright in minimized js #40

Closed viljoviitanen closed 9 years ago

viljoviitanen commented 9 years ago

Hello,

I would suggest to leave in a comment in the javascript source that is left in the minimized file. I don't have gulp installed, but I would guess that just adding the following line

// @license Copyright (C) 2014 Erik Ringsmuth - MIT license

in src/app-router.js can do it (if not, then some fiddling with gulp options are needed). Then your copyright gets automatically included in vulcanized projects which include app-router.

erikringsmuth commented 9 years ago

I made the change to gulp to get this to work and added the copyright to app-router.js. This will get released with 2.1.0 in about a week. I want to finish up another bug fix before I release the next version.