split lowlight languages out of the worker bundle

This commit is contained in:
Sebastian Sdorra
2020-01-27 13:30:46 +01:00
parent 3eb444a1fe
commit 3a8ae34e89
10 changed files with 1869 additions and 1563 deletions

View File

@@ -9,7 +9,6 @@ const createNodeMock = (element: any) => {
querySelector: (selector: string) => {}
};
}
return null;
};
initStoryshots({
@@ -17,6 +16,7 @@ initStoryshots({
// fix snapshot tests with react-diff-view which uses a ref on tr
// @see https://github.com/storybookjs/storybook/pull/1090
test: snapshotWithOptions({
// @ts-ignore types seems not to match
createNodeMock
})
});