Open rictic opened 8 years ago
+1
+2
I would rather configure Bower where /bower_components/
should be located:
.bowerrc
{
"directory": "app/bower_components"
}
resulting in
├── app
│ ├── bower_components
│ ├── elements
│ │ ├── my-element.html
Discussed here earlier this year: PolymerElements/polymer-starter-kit#635
Still need to upgrade my project to check, but this was probably fixed late last year when bower_components
was moved into app
to make vulcanizing easier: PolymerElements/polymer-starter-kit#568.
Polymer starter kit is laid out like
The default server is configured with
bower_components
served over HTTP as though it were inside of theapp
directory. As a result, the HTML imports inmy-element
only go up by one../
but polylint can't find any files at e.g.app/bower_components/polymer/polymer.html
.It would be useful if we could specify how the directories in the filesystem will be served out over HTTP. Simple strawman:
.polylintrc