Skip to content

Commit

Permalink
fix: correctly order storybook plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
LarsDenBakker committed Jan 10, 2021
1 parent e4d5a61 commit 4251470
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ import baseConfig from '../web-dev-server.config.mjs';
export default /** @type {import('@web/dev-server').DevServerConfig} */ ({
...baseConfig,
open: '/',
plugins: [...baseConfig.plugins, storybookPlugin({ type: 'web-components' })],
plugins: [storybookPlugin({ type: 'web-components' }), ...baseConfig.plugins],
});
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ import baseConfig from '../web-dev-server.config.mjs';
export default /** @type {import('@web/dev-server').DevServerConfig} */ ({
...baseConfig,
open: '/',
plugins: [...baseConfig.plugins, storybookPlugin({ type: 'web-components' })],
plugins: [storybookPlugin({ type: 'web-components' }), ...baseConfig.plugins],
});
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ import baseConfig from '../web-dev-server.config.mjs';
export default /** @type {import('@web/dev-server').DevServerConfig} */ ({
...baseConfig,
open: '/',
plugins: [...baseConfig.plugins, storybookPlugin({ type: 'web-components' })],
plugins: [storybookPlugin({ type: 'web-components' }), ...baseConfig.plugins],
});
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ import baseConfig from '../web-dev-server.config.mjs';
export default /** @type {import('@web/dev-server').DevServerConfig} */ ({
...baseConfig,
open: '/',
plugins: [...baseConfig.plugins, storybookPlugin({ type: 'web-components' })],
plugins: [storybookPlugin({ type: 'web-components' }), ...baseConfig.plugins],
});

0 comments on commit 4251470

Please sign in to comment.