Polymer / polymer-starter-kit

A starting point for Polymer apps

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

basePath not working on polymer.json

higim opened this issue · comments

I'm trying to create a build with a base url "/test" for the project. According to documentation, I have to use "basePath": "/test" on the build to let this value in the base href on the built index.html. I use "name": "testing" as the name of the build.

After building, I have a folder called "testing" inside the build folder but the base href points also to base href="/testing/".

"builds": [
{
"name": "testing",
"basePath" : "/test",
"browserCapabilities": [
"es2015"
],
"js": {
"compile": "es2015",
"minify": true,
"transformModulesToAmd": true
},
"css": {
"minify": true
},
"html": {
"minify": true
},
"bundle": true,
"addServiceWorker": true
}
],

Am I doing something wrong or it's not working properly?

Thanks in advance,
Higi