You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run polyserve the polyserve console shows my different servers are there, but they all use polymer 1. When I just use one bower.json file and one bower_components directory both with polymer 2 specified, it works fine with polymer 2 without using any variants...but I would like to use the variants feature. Any help would be appreciated. Thanks!
The text was updated successfully, but these errors were encountered:
Hi! I also have same issue. The problem is in the case that polyserve don't change dependecies folder when you try to go to another variant (bower_components/bower_components-1.x for example). I try many ways but all they does not work.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I am not having much luck in getting polyserve to work with variants.
I am using polyserve version 0.15.0
I have in my project directory:
bower.json:
{
"name": "my-project",
"dependencies": {
"polymer": "Polymer/polymer#1.7 - 2.x"
},
"variants": {
"polymer-1": {
"dependencies": {
"polymer": "Polymer/polymer#^1.6.0"
}
},
"polymer-2": {
"dependencies": {
"polymer": "Polymer/polymer#2.0-preview"
}
}
},
"private": true
}
bower-polymer-1.json:
{
"name": "my-project",
"dependencies": {
"polymer": "Polymer/polymer#^1.6.0"
},
"variants": {
"polymer-1": {
"dependencies": {
"polymer": "Polymer/polymer#^1.6.0"
}
},
"polymer-2": {
"dependencies": {
"polymer": "Polymer/polymer#2.0-preview"
}
}
},
"private": true
}
bower-polymer-2.json:
{
"name": "my-project",
"dependencies": {
"polymer": "Polymer/polymer#2.0-preview"
},
"variants": {
"polymer-1": {
"dependencies": {
"polymer": "Polymer/polymer#^1.6.0"
}
},
"polymer-2": {
"dependencies": {
"polymer": "Polymer/polymer#2.0-preview"
}
}
},
"private": true
}
and then also the directories and subdirectories:
bower_components
webcomponentsjs
polymer (1)
bower_components-polymer-1
webcomponentsjs
polymer (1)
bower_components-polymer-2
webcomponentsjs
shadydom
shadycss
polymer (2)
custom-elements
When I run polyserve the polyserve console shows my different servers are there, but they all use polymer 1. When I just use one bower.json file and one bower_components directory both with polymer 2 specified, it works fine with polymer 2 without using any variants...but I would like to use the variants feature. Any help would be appreciated. Thanks!
The text was updated successfully, but these errors were encountered: