Skip to content

Commit

Permalink
test: storybook polyfill loading
Browse files Browse the repository at this point in the history
  • Loading branch information
JakobVogelsang committed Dec 28, 2024
1 parent 4fee320 commit f639c47
Show file tree
Hide file tree
Showing 4 changed files with 592 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .storybook/server.mjs
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
import { storybookPlugin } from '@web/dev-server-storybook';
import baseConfig from '../web-dev-server.config.mjs';
import { polyfill } from '@web/dev-server-polyfill';


export default /** @type {import('@web/dev-server').DevServerConfig} */ ({
...baseConfig,
open: '/',
plugins: [storybookPlugin({ type: 'web-components' }), ...baseConfig.plugins],
plugins: [
polyfill({
scopedCustomElementRegistry: true,
}),storybookPlugin({ type: 'web-components' }), ...baseConfig.plugins],
});
Loading

0 comments on commit f639c47

Please sign in to comment.