Skip to content

Commit

Permalink
πŸ› Use /register for Storybook addons (ampproject#35890)
Browse files Browse the repository at this point in the history
Preact environment had been updated to this module path, but the AMP environment had not.
  • Loading branch information
alanorozco authored and Mahir committed Sep 9, 2021
1 parent 32034bf commit 261e046
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build-system/tasks/storybook/amp-env/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ module.exports = {
// since it only checks the structure of the outer iframe element.
// Enable this once we find a way to inspect the iframe document's tree.
// '@storybook/addon-a11y',
'@storybook/addon-viewport',
'@storybook/addon-knobs',
'@storybook/addon-viewport/register',
'@storybook/addon-knobs/register',
'@ampproject/storybook-addon',
],
managerWebpack: (config) => {
Expand Down

0 comments on commit 261e046

Please sign in to comment.