diff --git a/src/createDynamicStylesheet.ts b/src/createDynamicStylesheet.ts index 67d7387..b17357d 100644 --- a/src/createDynamicStylesheet.ts +++ b/src/createDynamicStylesheet.ts @@ -36,6 +36,10 @@ export function createDynamicStyleSheetHandlerFactory( qpath = []; ss.processDiffs(diffs); }, + get() { + const n = astInterface.getNode(qpath, ast); + return postcss.objectify(n); + }, _ast: ast, _ssInterface: ss, };