I use Polymer 2.0 and my build setting is:
"builds": [
{
"name": "bundled",
"bundle": true,
"js": { "compile": true, "minify": true},
"css": { "minify": true },
"html": { "minify": true }
}
EDIT:
I was getting "Can’t find variable: babelHelpers" error when I was using polymer-cli locally. After installing latest polymer-cli globally, now I get “Constructor requires ‘new’ operator” in safari and “Failed to construct ‘HTMLElement’: Please use the ‘new’ operator, this DOM object constructor cannot be called as a function.” in chrome.
Description
I use Polymer 2.0 and my build setting is: "builds": [ { "name": "bundled", "bundle": true, "js": { "compile": true, "minify": true}, "css": { "minify": true }, "html": { "minify": true } }
EDIT: I was getting "Can’t find variable: babelHelpers" error when I was using polymer-cli locally. After installing latest polymer-cli globally, now I get “Constructor requires ‘new’ operator” in safari and “Failed to construct ‘HTMLElement’: Please use the ‘new’ operator, this DOM object constructor cannot be called as a function.” in chrome.
sample project: https://github.com/Homa/polymer2-test
Versions & Environment