polymer-starter-kit icon indicating copy to clipboard operation
polymer-starter-kit copied to clipboard

basePath not working on polymer.json

Open higim opened this issue 5 years ago • 0 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

higim avatar Oct 09 '19 11:10 higim