0
は私が手:IE11ポリマーDOMモジュールは、すでに定義されたIE11で
などその完全に罰金クロム、エッジ、オンA custom element with name 'dom-module' has already been defined.
。何か案が?
const sourcesStream = mergeStream(project.sources(), project.dependencies())
.pipe(sourcesHtmlSplitter.split())
.pipe(gulpif(/\.js$/, babel({
presets: ["env", {
"targets": {
"chrome": 52,
"browsers": ["ie 11"]
}]
})))
.pipe(gulpif(/\.js$/, uglify({
compress: {
drop_console: true
}
})))
.pipe(gulpif(/\.(png|gif|jpg|svg)$/, imagemin()))
.pipe(sourcesHtmlSplitter.rejoin())
gulp.task('debug', function() {
return sourcesStream
.pipe(project.bundler({
sourcemaps: false,
inlineCss: true,
inlineScripts: true,
stripComments: true
}))
.pipe(gulp.dest(buildDirectory));
});
依存関係のバージョン:
"polymer-build": "2.1.0",
"polymer-bundler": "3.1.0",