From d913614db9bef3176909fa4101f7585c6a440241 Mon Sep 17 00:00:00 2001 From: Elliott Marquez Date: Wed, 18 Apr 2018 15:44:50 -0700 Subject: [PATCH] manually change inter-package dep imports from paths to names --- lib/elements/custom-style.js | 2 +- lib/legacy/legacy-element-mixin.js | 2 +- test/unit/polymer-element-with-apply-import.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/elements/custom-style.js b/lib/elements/custom-style.js index 9af6bc5459..179eb3a178 100644 --- a/lib/elements/custom-style.js +++ b/lib/elements/custom-style.js @@ -7,7 +7,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI Code distributed by Google as part of the polymer project is also subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ -import '../../../../@webcomponents/shadycss/entrypoints/custom-style-interface.js'; +import '@webcomponents/shadycss/entrypoints/custom-style-interface.js'; import { cssFromModules } from '../utils/style-gather.js'; diff --git a/lib/legacy/legacy-element-mixin.js b/lib/legacy/legacy-element-mixin.js index b7fa702e6b..3119bf998f 100644 --- a/lib/legacy/legacy-element-mixin.js +++ b/lib/legacy/legacy-element-mixin.js @@ -7,7 +7,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI Code distributed by Google as part of the polymer project is also subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ -import '../../../../@webcomponents/shadycss/entrypoints/apply-shim.js'; +import '@webcomponents/shadycss/entrypoints/apply-shim.js'; import { ElementMixin } from '../mixins/element-mixin.js'; import { GestureEventListeners } from '../mixins/gesture-event-listeners.js'; diff --git a/test/unit/polymer-element-with-apply-import.js b/test/unit/polymer-element-with-apply-import.js index 92fc023eec..897ed99ee7 100644 --- a/test/unit/polymer-element-with-apply-import.js +++ b/test/unit/polymer-element-with-apply-import.js @@ -9,7 +9,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN */ import { PolymerElement } from '../../polymer-element.js'; -import '../../../../@webcomponents/shadycss/entrypoints/apply-shim.js'; +import '@webcomponents/shadycss/entrypoints/apply-shim.js'; import '../../lib/elements/custom-style.js'; import { html } from '../../lib/utils/html-tag.js'; class ApplyElement extends PolymerElement {