Open scottalan opened 1 year ago
Hi! đ
Firstly, thanks for your work on this project! đ
Today I used patch-package to patch @phase2/outline-core@0.1.10 for the project I'm working on.
@phase2/outline-core@0.1.10
Here is the diff that solved my problem:
diff --git a/node_modules/@phase2/outline-core/src/controllers/light-dom-styles.ts b/node_modules/@phase2/outline-core/src/controllers/light-dom-styles.ts index 3f22952..c0aa099 100644 --- a/node_modules/@phase2/outline-core/src/controllers/light-dom-styles.ts +++ b/node_modules/@phase2/outline-core/src/controllers/light-dom-styles.ts @@ -1,6 +1,6 @@ /* eslint-disable no-console */ import { ReactiveControllerHost, CSSResultGroup, CSSResult } from 'lit'; -import { addScopeToStyles } from '../internal/light-dom'; +import { addScopeToStyles } from '@phase2/outline-core/src/internal/light-dom.mjs'; /** * The LightComStyles ReactiveController. diff --git a/node_modules/@phase2/outline-core/src/internal/light-dom.mjs b/node_modules/@phase2/outline-core/src/internal/light-dom.mjs index 22a49cc..da2a1f1 100644 --- a/node_modules/@phase2/outline-core/src/internal/light-dom.mjs +++ b/node_modules/@phase2/outline-core/src/internal/light-dom.mjs @@ -1,4 +1,4 @@ -import cssTools from '@adobe/css-tools'; +import * as cssTools from '@adobe/css-tools'; /** * Helper function to add Scope to a specific CSS Selector.
This issue body was partially generated by patch-package.
Hi! đ
Firstly, thanks for your work on this project! đ
Today I used patch-package to patch
@phase2/outline-core@0.1.10
for the project I'm working on.Here is the diff that solved my problem:
This issue body was partially generated by patch-package.