storybookjs / storybook

Storybook is the industry standard workshop for building, documenting, and testing UI components in isolation
https://storybook.js.org
MIT License
84.67k stars 9.32k forks source link

HMR doesn't work after Storybook v6.1.14 #13914

Closed Morgan-jarry closed 1 year ago

Morgan-jarry commented 3 years ago

Describe the bug When I update a component or a stylesheet link to it, the hot module reload is not triggered.

To Reproduce Update a component by updating a prop, adding a classname, or whatever.

Expected behavior HMR should be trigger on every component update.

System

Environment Info:

  System:
    OS: macOS 10.15.7
    CPU: (12) x64 Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz
  Binaries:
    Node: 14.15.3 - ~/.asdf/installs/nodejs/14.15.3/bin/node
    Yarn: 1.22.10 - ~/.asdf/shims/yarn
    npm: 6.14.9 - ~/.asdf/installs/nodejs/14.15.3/bin/npm
  Browsers:
    Chrome: 88.0.4324.150
    Firefox: 84.0.2
    Safari: 14.0.1
  npmPackages:
    @storybook/addon-a11y: 6.1.18 => 6.1.18
    @storybook/addon-actions: 6.1.18 => 6.1.18
    @storybook/addon-docs: 6.1.18 => 6.1.18
    @storybook/addon-essentials: 6.1.18 => 6.1.18
    @storybook/addon-links: 6.1.18 => 6.1.18
    @storybook/addons: 6.1.18 => 6.1.18
    @storybook/react: 6.1.18 => 6.1.18
    @storybook/theming: 6.1.18 => 6.1.18
shilman commented 3 years ago

What version were you updating from?

Morgan-jarry commented 3 years ago

Sorry it was on the title. I was using Storybook 6.1.14

shilman commented 3 years ago

Did you try removing node_modules and/or lockfiles and reinstalling? I'm not seeing anything in the changelog related to this.

Morgan-jarry commented 3 years ago

Yes every time.

shilman commented 3 years ago

Do you have a repro repo you can share?

Morgan-jarry commented 3 years ago

Unfortunately, I can't share the repo, but, I've found that the rerendering works very slowly. I have to wait ~20sec to see the update below:

image

Maybe you'll need my Manager webpack config ```js { name: 'manager', mode: 'development', bail: false, devtool: 'none', entry: [ '/Users/morgan/Sites/storybook-react/node_modules/@storybook/core/dist/server/common/polyfills.js', '/Users/morgan/Sites/storybook-react/.storybook/manager.js', '/Users/morgan/Sites/storybook-react/node_modules/@storybook/core/dist/client/manager/index.js', '/Users/morgan/Sites/storybook-react/node_modules/@storybook/addon-links/dist/register.js', '/Users/morgan/Sites/storybook-react/node_modules/@storybook/addon-docs/dist/register.js', '/Users/morgan/Sites/storybook-react/node_modules/@storybook/addon-controls/dist/register.js', '/Users/morgan/Sites/storybook-react/node_modules/@storybook/addon-actions/dist/register.js', '/Users/morgan/Sites/storybook-react/node_modules/@storybook/addon-backgrounds/dist/register.js', '/Users/morgan/Sites/storybook-react/node_modules/@storybook/addon-viewport/dist/register.js', '/Users/morgan/Sites/storybook-react/node_modules/@storybook/addon-toolbars/dist/register.js', '/Users/morgan/Sites/storybook-react/node_modules/@storybook/addon-a11y/dist/register.js', '/Users/morgan/Sites/storybook-react/node_modules/storybook-addon-designs/register.js', '/Users/morgan/Sites/storybook-react/.storybook/generated-refs.js' ], output: { path: '/Users/morgan/Sites/storybook-react/node_modules/.cache/storybook/public', filename: '[name].[chunkhash].bundle.js', publicPath: '' }, cache: FileSystemCache { basePath: '/Users/morgan/Sites/storybook-react/node_modules/.cache/storybook/dev-server', ns: '325c8f456729b912b0d2134054eb7448' }, plugins: [ VirtualModulesPlugin { _staticModules: { '/Users/morgan/Sites/storybook-react/.storybook/generated-refs.js': '"use strict";\n' + '\n' + 'var _addons = require("@storybook/addons");\n' + '\n' + '_addons.addons.setConfig({\n' + ' refs: {}\n' + '});' } }, HtmlWebpackPlugin { options: { template: '/Users/morgan/Sites/storybook-react/node_modules/@storybook/core/dist/server/templates/index.ejs', templateContent: false, templateParameters: [Function: templateParameters], filename: 'index.html', publicPath: 'auto', hash: false, inject: false, scriptLoading: 'blocking', compile: true, favicon: false, minify: 'auto', cache: true, showErrors: true, chunks: 'all', excludeChunks: [], chunksSortMode: 'none', meta: {}, base: false, title: 'Webpack App', xhtml: false, alwaysWriteToDisk: true }, childCompilerHash: undefined, assetJson: undefined, hash: undefined, version: 4 }, CaseSensitivePathsPlugin { options: {}, logger: Object [console] { log: [Function: log], warn: [Function: warn], dir: [Function: dir], time: [Function: time], timeEnd: [Function: timeEnd], timeLog: [Function: timeLog], trace: [Function: trace], assert: [Function: assert], clear: [Function: clear], count: [Function: count], countReset: [Function: countReset], group: [Function: group], groupEnd: [Function: groupEnd], table: [Function: table], debug: [Function: debug], info: [Function: info], dirxml: [Function: dirxml], error: [Function: error], groupCollapsed: [Function: groupCollapsed], Console: [Function: Console], profile: [Function: profile], profileEnd: [Function: profileEnd], timeStamp: [Function: timeStamp], context: [Function: context] }, pathCache: {}, fsOperations: 0, primed: false }, DefinePlugin { definitions: {} }, DefinePlugin { definitions: { 'process.env': { NODE_ENV: '"development"', NODE_PATH: '""', STORYBOOK: '"true"', PUBLIC_URL: '""' }, NODE_ENV: '"development"' } } ], module: { rules: [ { test: /\.(mjs|tsx?|jsx?)$/, use: [ { loader: '/Users/morgan/Sites/storybook-react/node_modules/babel-loader/lib/index.js', options: { sourceType: 'unambiguous', presets: [ [ '/Users/morgan/Sites/storybook-react/node_modules/@babel/preset-env/lib/index.js', { shippedProposals: true, useBuiltIns: 'usage', corejs: '3' } ], '/Users/morgan/Sites/storybook-react/node_modules/@babel/preset-typescript/lib/index.js', '/Users/morgan/Sites/storybook-react/node_modules/@babel/preset-react/lib/index.js' ], plugins: [ '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-transform-shorthand-properties/lib/index.js', '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-transform-block-scoping/lib/index.js', [ '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-proposal-decorators/lib/index.js', { legacy: true } ], [ '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-proposal-class-properties/lib/index.js', { loose: true } ], [ '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-proposal-private-methods/lib/index.js', { loose: true } ], '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-proposal-export-default-from/lib/index.js', '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-syntax-dynamic-import/lib/index.js', [ '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-proposal-object-rest-spread/lib/index.js', { loose: true, useBuiltIns: true } ], '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-transform-classes/lib/index.js', '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-transform-arrow-functions/lib/index.js', '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-transform-parameters/lib/index.js', '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-transform-destructuring/lib/index.js', '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-transform-spread/lib/index.js', '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-transform-for-of/lib/index.js', '/Users/morgan/Sites/storybook-react/node_modules/babel-plugin-macros/dist/index.js', '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-proposal-optional-chaining/lib/index.js', '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-proposal-nullish-coalescing-operator/lib/index.js', '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-transform-template-literals/lib/index.js' ] } } ], include: [ '/Users/morgan/Sites/storybook-react' ], exclude: [ /node_modules/, /dist/ ] }, { test: /\.js$/, use: [ { loader: '/Users/morgan/Sites/storybook-react/node_modules/babel-loader/lib/index.js', options: { sourceType: 'unambiguous', presets: [ [ '/Users/morgan/Sites/storybook-react/node_modules/@babel/preset-env/lib/index.js', { shippedProposals: true, useBuiltIns: 'usage', corejs: '3' } ], '/Users/morgan/Sites/storybook-react/node_modules/@babel/preset-react/lib/index.js' ], plugins: [ '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-transform-shorthand-properties/lib/index.js', '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-transform-block-scoping/lib/index.js', [ '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-proposal-decorators/lib/index.js', { legacy: true } ], [ '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-proposal-class-properties/lib/index.js', { loose: true } ], [ '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-proposal-private-methods/lib/index.js', { loose: true } ], '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-proposal-export-default-from/lib/index.js', '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-syntax-dynamic-import/lib/index.js', [ '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-proposal-object-rest-spread/lib/index.js', { loose: true, useBuiltIns: true } ], '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-transform-classes/lib/index.js', '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-transform-arrow-functions/lib/index.js', '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-transform-parameters/lib/index.js', '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-transform-destructuring/lib/index.js', '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-transform-spread/lib/index.js', '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-transform-for-of/lib/index.js', '/Users/morgan/Sites/storybook-react/node_modules/babel-plugin-macros/dist/index.js', '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-proposal-optional-chaining/lib/index.js', '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-proposal-nullish-coalescing-operator/lib/index.js' ] } } ], include: /[\\/]node_modules[\\/](@storybook\/node-logger|are-you-es5|better-opn|boxen|chalk|commander|find-cache-dir|find-up|fs-extra|json5|node-fetch|pkg-dir|resolve-from|semver)/ }, { test: /\.css$/, use: [ '/Users/morgan/Sites/storybook-react/node_modules/@storybook/core/node_modules/style-loader/dist/cjs.js', { loader: '/Users/morgan/Sites/storybook-react/node_modules/@storybook/core/node_modules/css-loader/dist/cjs.js', options: { importLoaders: 1 } } ] }, { test: /\.(svg|ico|jpg|jpeg|png|apng|gif|eot|otf|webp|ttf|woff|woff2|cur|ani|pdf)(\?.*)?$/, loader: '/Users/morgan/Sites/storybook-react/node_modules/@storybook/core/node_modules/file-loader/dist/cjs.js', query: { name: 'static/media/[name].[hash:8].[ext]' } }, { test: /\.(mp4|webm|wav|mp3|m4a|aac|oga)(\?.*)?$/, loader: '/Users/morgan/Sites/storybook-react/node_modules/@storybook/core/node_modules/url-loader/dist/cjs.js', query: { limit: 10000, name: 'static/media/[name].[hash:8].[ext]' } } ] }, resolve: { extensions: [ '.mjs', '.js', '.jsx', '.json', '.cjs', '.ts', '.tsx' ], modules: [ 'node_modules' ], alias: { '@emotion/core': '/Users/morgan/Sites/storybook-react/node_modules/@emotion/core', '@emotion/styled': '/Users/morgan/Sites/storybook-react/node_modules/@emotion/styled', 'emotion-theming': '/Users/morgan/Sites/storybook-react/node_modules/emotion-theming', '@storybook/addons': '/Users/morgan/Sites/storybook-react/node_modules/@storybook/addons', '@storybook/api': '/Users/morgan/Sites/storybook-react/node_modules/@storybook/api', '@storybook/channels': '/Users/morgan/Sites/storybook-react/node_modules/@storybook/channels', '@storybook/components': '/Users/morgan/Sites/storybook-react/node_modules/@storybook/components', '@storybook/core-events': '/Users/morgan/Sites/storybook-react/node_modules/@storybook/core-events', '@storybook/router': '/Users/morgan/Sites/storybook-react/node_modules/@storybook/router', '@storybook/theming': '/Users/morgan/Sites/storybook-react/node_modules/@storybook/theming', '@storybook/ui': '/Users/morgan/Sites/storybook-react/node_modules/@storybook/ui', react: '/Users/morgan/Sites/storybook-react/node_modules/react', 'react-dom': '/Users/morgan/Sites/storybook-react/node_modules/react-dom' }, plugins: [ { apply: [Function: nothing], makePlugin: [Function (anonymous)], moduleLoader: [Function (anonymous)], topLevelLoader: { apply: [Function: nothing] }, bind: [Function (anonymous)], tsLoaderOptions: [Function (anonymous)], forkTsCheckerOptions: [Function (anonymous)] } ] }, resolveLoader: { plugins: [ { apply: [Function: nothing] } ] }, recordsPath: '/Users/morgan/Sites/storybook-react/node_modules/.cache/storybook/public/records.json', performance: { hints: false }, optimization: { splitChunks: { chunks: 'all' }, runtimeChunk: true, minimizer: [] } } info => Using custom postcss.config.js info => Using default Webpack setup Preview webpack config { mode: 'development', bail: false, devtool: '#cheap-module-source-map', entry: [ '/Users/morgan/Sites/storybook-react/node_modules/@storybook/core/dist/server/common/polyfills.js', '/Users/morgan/Sites/storybook-react/node_modules/@storybook/core/dist/server/preview/globals.js', '/Users/morgan/Sites/storybook-react/.storybook/storybook-init-framework-entry.js', '/Users/morgan/Sites/storybook-react/node_modules/@storybook/addon-docs/dist/frameworks/common/config.js-generated-other-entry.js', '/Users/morgan/Sites/storybook-react/node_modules/@storybook/addon-docs/dist/frameworks/react/config.js-generated-other-entry.js', '/Users/morgan/Sites/storybook-react/node_modules/@storybook/addon-links/dist/preset/addDecorator.js-generated-other-entry.js', '/Users/morgan/Sites/storybook-react/node_modules/@storybook/addon-actions/dist/preset/addDecorator.js-generated-other-entry.js', '/Users/morgan/Sites/storybook-react/node_modules/@storybook/addon-actions/dist/preset/addArgs.js-generated-other-entry.js', '/Users/morgan/Sites/storybook-react/node_modules/@storybook/addon-backgrounds/dist/preset/addDecorator.js-generated-other-entry.js', '/Users/morgan/Sites/storybook-react/node_modules/@storybook/addon-backgrounds/dist/preset/addParameter.js-generated-other-entry.js', '/Users/morgan/Sites/storybook-react/node_modules/@storybook/addon-a11y/dist/a11yRunner.js-generated-other-entry.js', '/Users/morgan/Sites/storybook-react/node_modules/@storybook/addon-a11y/dist/a11yHighlight.js-generated-other-entry.js', '/Users/morgan/Sites/storybook-react/.storybook/preview.js-generated-config-entry.js', '/Users/morgan/Sites/storybook-react/.storybook/generated-stories-entry.js', '/Users/morgan/Sites/storybook-react/node_modules/webpack-hot-middleware/client.js?reload=true&quiet=false&noInfo=undefined' ], output: { path: '/Users/morgan/Sites/storybook-react/node_modules/.cache/storybook/public', filename: '[name].[hash].bundle.js', publicPath: '' }, plugins: [ VirtualModulesPlugin { _staticModules: { '/Users/morgan/Sites/storybook-react/.storybook/storybook-init-framework-entry.js': "import '@storybook/react';", '/Users/morgan/Sites/storybook-react/node_modules/@storybook/addon-docs/dist/frameworks/common/config.js-generated-other-entry.js': '"use strict";\n' + '\n' + 'var _clientApi = require("/Users/morgan/Sites/storybook-react/node_modules/@storybook/client-api");\n' + '\n' + 'var _clientLogger = require("/Users/morgan/Sites/storybook-react/node_modules/@storybook/client-logger");\n' + '\n' + 'var _configFilename = require("/Users/morgan/Sites/storybook-react/node_modules/@storybook/addon-docs/dist/frameworks/common/config.js");\n' + '\n' + 'function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n' + '\n' + 'function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n' + '\n' + 'function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n' + '\n' + 'if (_configFilename.args || _configFilename.argTypes) {\n' + " _clientLogger.logger.warn('Invalid args/argTypes in config, ignoring.', JSON.stringify({\n" + ' args: _configFilename.args,\n' + ' argTypes: _configFilename.argTypes\n' + ' }));\n' + '}\n' + '\n' + 'if (_configFilename.decorators) {\n' + ' _configFilename.decorators.forEach(function (decorator) {\n' + ' return (0, _clientApi.addDecorator)(decorator, false);\n' + ' });\n' + '}\n' + '\n' + 'if (_configFilename.loaders) {\n' + ' _configFilename.loaders.forEach(function (loader) {\n' + ' return (0, _clientApi.addLoader)(loader, false);\n' + ' });\n' + '}\n' + '\n' + 'if (_configFilename.parameters || _configFilename.globals || _configFilename.globalTypes) {\n' + ' (0, _clientApi.addParameters)(_objectSpread(_objectSpread({}, _configFilename.parameters), {}, {\n' + ' globals: _configFilename.globals,\n' + ' globalTypes: _configFilename.globalTypes\n' + ' }), false);\n' + '}\n' + '\n' + 'if (_configFilename.argTypesEnhancers) {\n' + ' _configFilename.argTypesEnhancers.forEach(function (enhancer) {\n' + ' return (0, _clientApi.addArgTypesEnhancer)(enhancer);\n' + ' });\n' + '}', '/Users/morgan/Sites/storybook-react/node_modules/@storybook/addon-docs/dist/frameworks/react/config.js-generated-other-entry.js': '"use strict";\n' + '\n' + 'var _clientApi = require("/Users/morgan/Sites/storybook-react/node_modules/@storybook/client-api");\n' + '\n' + 'var _clientLogger = require("/Users/morgan/Sites/storybook-react/node_modules/@storybook/client-logger");\n' + '\n' + 'var _configFilename = require("/Users/morgan/Sites/storybook-react/node_modules/@storybook/addon-docs/dist/frameworks/react/config.js");\n' + '\n' + 'function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n' + '\n' + 'function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n' + '\n' + 'function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n' + '\n' + 'if (_configFilename.args || _configFilename.argTypes) {\n' + " _clientLogger.logger.warn('Invalid args/argTypes in config, ignoring.', JSON.stringify({\n" + ' args: _configFilename.args,\n' + ' argTypes: _configFilename.argTypes\n' + ' }));\n' + '}\n' + '\n' + 'if (_configFilename.decorators) {\n' + ' _configFilename.decorators.forEach(function (decorator) {\n' + ' return (0, _clientApi.addDecorator)(decorator, false);\n' + ' });\n' + '}\n' + '\n' + 'if (_configFilename.loaders) {\n' + ' _configFilename.loaders.forEach(function (loader) {\n' + ' return (0, _clientApi.addLoader)(loader, false);\n' + ' });\n' + '}\n' + '\n' + 'if (_configFilename.parameters || _configFilename.globals || _configFilename.globalTypes) {\n' + ' (0, _clientApi.addParameters)(_objectSpread(_objectSpread({}, _configFilename.parameters), {}, {\n' + ' globals: _configFilename.globals,\n' + ' globalTypes: _configFilename.globalTypes\n' + ' }), false);\n' + '}\n' + '\n' + 'if (_configFilename.argTypesEnhancers) {\n' + ' _configFilename.argTypesEnhancers.forEach(function (enhancer) {\n' + ' return (0, _clientApi.addArgTypesEnhancer)(enhancer);\n' + ' });\n' + '}', '/Users/morgan/Sites/storybook-react/node_modules/@storybook/addon-links/dist/preset/addDecorator.js-generated-other-entry.js': '"use strict";\n' + '\n' + 'var _clientApi = require("/Users/morgan/Sites/storybook-react/node_modules/@storybook/client-api");\n' + '\n' + 'var _clientLogger = require("/Users/morgan/Sites/storybook-react/node_modules/@storybook/client-logger");\n' + '\n' + 'var _configFilename = require("/Users/morgan/Sites/storybook-react/node_modules/@storybook/addon-links/dist/preset/addDecorator.js");\n' + '\n' + 'function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n' + '\n' + 'function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n' + '\n' + 'function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n' + '\n' + 'if (_configFilename.args || _configFilename.argTypes) {\n' + " _clientLogger.logger.warn('Invalid args/argTypes in config, ignoring.', JSON.stringify({\n" + ' args: _configFilename.args,\n' + ' argTypes: _configFilename.argTypes\n' + ' }));\n' + '}\n' + '\n' + 'if (_configFilename.decorators) {\n' + ' _configFilename.decorators.forEach(function (decorator) {\n' + ' return (0, _clientApi.addDecorator)(decorator, false);\n' + ' });\n' + '}\n' + '\n' + 'if (_configFilename.loaders) {\n' + ' _configFilename.loaders.forEach(function (loader) {\n' + ' return (0, _clientApi.addLoader)(loader, false);\n' + ' });\n' + '}\n' + '\n' + 'if (_configFilename.parameters || _configFilename.globals || _configFilename.globalTypes) {\n' + ' (0, _clientApi.addParameters)(_objectSpread(_objectSpread({}, _configFilename.parameters), {}, {\n' + ' globals: _configFilename.globals,\n' + ' globalTypes: _configFilename.globalTypes\n' + ' }), false);\n' + '}\n' + '\n' + 'if (_configFilename.argTypesEnhancers) {\n' + ' _configFilename.argTypesEnhancers.forEach(function (enhancer) {\n' + ' return (0, _clientApi.addArgTypesEnhancer)(enhancer);\n' + ' });\n' + '}', '/Users/morgan/Sites/storybook-react/node_modules/@storybook/addon-actions/dist/preset/addDecorator.js-generated-other-entry.js': '"use strict";\n' + '\n' + 'var _clientApi = require("/Users/morgan/Sites/storybook-react/node_modules/@storybook/client-api");\n' + '\n' + 'var _clientLogger = require("/Users/morgan/Sites/storybook-react/node_modules/@storybook/client-logger");\n' + '\n' + 'var _configFilename = require("/Users/morgan/Sites/storybook-react/node_modules/@storybook/addon-actions/dist/preset/addDecorator.js");\n' + '\n' + 'function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n' + '\n' + 'function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n' + '\n' + 'function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n' + '\n' + 'if (_configFilename.args || _configFilename.argTypes) {\n' + " _clientLogger.logger.warn('Invalid args/argTypes in config, ignoring.', JSON.stringify({\n" + ' args: _configFilename.args,\n' + ' argTypes: _configFilename.argTypes\n' + ' }));\n' + '}\n' + '\n' + 'if (_configFilename.decorators) {\n' + ' _configFilename.decorators.forEach(function (decorator) {\n' + ' return (0, _clientApi.addDecorator)(decorator, false);\n' + ' });\n' + '}\n' + '\n' + 'if (_configFilename.loaders) {\n' + ' _configFilename.loaders.forEach(function (loader) {\n' + ' return (0, _clientApi.addLoader)(loader, false);\n' + ' });\n' + '}\n' + '\n' + 'if (_configFilename.parameters || _configFilename.globals || _configFilename.globalTypes) {\n' + ' (0, _clientApi.addParameters)(_objectSpread(_objectSpread({}, _configFilename.parameters), {}, {\n' + ' globals: _configFilename.globals,\n' + ' globalTypes: _configFilename.globalTypes\n' + ' }), false);\n' + '}\n' + '\n' + 'if (_configFilename.argTypesEnhancers) {\n' + ' _configFilename.argTypesEnhancers.forEach(function (enhancer) {\n' + ' return (0, _clientApi.addArgTypesEnhancer)(enhancer);\n' + ' });\n' + '}', '/Users/morgan/Sites/storybook-react/node_modules/@storybook/addon-actions/dist/preset/addArgs.js-generated-other-entry.js': '"use strict";\n' + '\n' + 'var _clientApi = require("/Users/morgan/Sites/storybook-react/node_modules/@storybook/client-api");\n' + '\n' + 'var _clientLogger = require("/Users/morgan/Sites/storybook-react/node_modules/@storybook/client-logger");\n' + '\n' + 'var _configFilename = require("/Users/morgan/Sites/storybook-react/node_modules/@storybook/addon-actions/dist/preset/addArgs.js");\n' + '\n' + 'function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n' + '\n' + 'function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n' + '\n' + 'function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n' + '\n' + 'if (_configFilename.args || _configFilename.argTypes) {\n' + " _clientLogger.logger.warn('Invalid args/argTypes in config, ignoring.', JSON.stringify({\n" + ' args: _configFilename.args,\n' + ' argTypes: _configFilename.argTypes\n' + ' }));\n' + '}\n' + '\n' + 'if (_configFilename.decorators) {\n' + ' _configFilename.decorators.forEach(function (decorator) {\n' + ' return (0, _clientApi.addDecorator)(decorator, false);\n' + ' });\n' + '}\n' + '\n' + 'if (_configFilename.loaders) {\n' + ' _configFilename.loaders.forEach(function (loader) {\n' + ' return (0, _clientApi.addLoader)(loader, false);\n' + ' });\n' + '}\n' + '\n' + 'if (_configFilename.parameters || _configFilename.globals || _configFilename.globalTypes) {\n' + ' (0, _clientApi.addParameters)(_objectSpread(_objectSpread({}, _configFilename.parameters), {}, {\n' + ' globals: _configFilename.globals,\n' + ' globalTypes: _configFilename.globalTypes\n' + ' }), false);\n' + '}\n' + '\n' + 'if (_configFilename.argTypesEnhancers) {\n' + ' _configFilename.argTypesEnhancers.forEach(function (enhancer) {\n' + ' return (0, _clientApi.addArgTypesEnhancer)(enhancer);\n' + ' });\n' + '}', '/Users/morgan/Sites/storybook-react/node_modules/@storybook/addon-backgrounds/dist/preset/addDecorator.js-generated-other-entry.js': '"use strict";\n' + '\n' + 'var _clientApi = require("/Users/morgan/Sites/storybook-react/node_modules/@storybook/client-api");\n' + '\n' + 'var _clientLogger = require("/Users/morgan/Sites/storybook-react/node_modules/@storybook/client-logger");\n' + '\n' + 'var _configFilename = require("/Users/morgan/Sites/storybook-react/node_modules/@storybook/addon-backgrounds/dist/preset/addDecorator.js");\n' + '\n' + 'function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n' + '\n' + 'function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n' + '\n' + 'function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n' + '\n' + 'if (_configFilename.args || _configFilename.argTypes) {\n' + " _clientLogger.logger.warn('Invalid args/argTypes in config, ignoring.', JSON.stringify({\n" + ' args: _configFilename.args,\n' + ' argTypes: _configFilename.argTypes\n' + ' }));\n' + '}\n' + '\n' + 'if (_configFilename.decorators) {\n' + ' _configFilename.decorators.forEach(function (decorator) {\n' + ' return (0, _clientApi.addDecorator)(decorator, false);\n' + ' });\n' + '}\n' + '\n' + 'if (_configFilename.loaders) {\n' + ' _configFilename.loaders.forEach(function (loader) {\n' + ' return (0, _clientApi.addLoader)(loader, false);\n' + ' });\n' + '}\n' + '\n' + 'if (_configFilename.parameters || _configFilename.globals || _configFilename.globalTypes) {\n' + ' (0, _clientApi.addParameters)(_objectSpread(_objectSpread({}, _configFilename.parameters), {}, {\n' + ' globals: _configFilename.globals,\n' + ' globalTypes: _configFilename.globalTypes\n' + ' }), false);\n' + '}\n' + '\n' + 'if (_configFilename.argTypesEnhancers) {\n' + ' _configFilename.argTypesEnhancers.forEach(function (enhancer) {\n' + ' return (0, _clientApi.addArgTypesEnhancer)(enhancer);\n' + ' });\n' + '}', '/Users/morgan/Sites/storybook-react/node_modules/@storybook/addon-backgrounds/dist/preset/addParameter.js-generated-other-entry.js': '"use strict";\n' + '\n' + 'var _clientApi = require("/Users/morgan/Sites/storybook-react/node_modules/@storybook/client-api");\n' + '\n' + 'var _clientLogger = require("/Users/morgan/Sites/storybook-react/node_modules/@storybook/client-logger");\n' + '\n' + 'var _configFilename = require("/Users/morgan/Sites/storybook-react/node_modules/@storybook/addon-backgrounds/dist/preset/addParameter.js");\n' + '\n' + 'function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n' + '\n' + 'function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n' + '\n' + 'function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n' + '\n' + 'if (_configFilename.args || _configFilename.argTypes) {\n' + " _clientLogger.logger.warn('Invalid args/argTypes in config, ignoring.', JSON.stringify({\n" + ' args: _configFilename.args,\n' + ' argTypes: _configFilename.argTypes\n' + ' }));\n' + '}\n' + '\n' + 'if (_configFilename.decorators) {\n' + ' _configFilename.decorators.forEach(function (decorator) {\n' + ' return (0, _clientApi.addDecorator)(decorator, false);\n' + ' });\n' + '}\n' + '\n' + 'if (_configFilename.loaders) {\n' + ' _configFilename.loaders.forEach(function (loader) {\n' + ' return (0, _clientApi.addLoader)(loader, false);\n' + ' });\n' + '}\n' + '\n' + 'if (_configFilename.parameters || _configFilename.globals || _configFilename.globalTypes) {\n' + ' (0, _clientApi.addParameters)(_objectSpread(_objectSpread({}, _configFilename.parameters), {}, {\n' + ' globals: _configFilename.globals,\n' + ' globalTypes: _configFilename.globalTypes\n' + ' }), false);\n' + '}\n' + '\n' + 'if (_configFilename.argTypesEnhancers) {\n' + ' _configFilename.argTypesEnhancers.forEach(function (enhancer) {\n' + ' return (0, _clientApi.addArgTypesEnhancer)(enhancer);\n' + ' });\n' + '}', '/Users/morgan/Sites/storybook-react/node_modules/@storybook/addon-a11y/dist/a11yRunner.js-generated-other-entry.js': '"use strict";\n' + '\n' + 'var _clientApi = require("/Users/morgan/Sites/storybook-react/node_modules/@storybook/client-api");\n' + '\n' + 'var _clientLogger = require("/Users/morgan/Sites/storybook-react/node_modules/@storybook/client-logger");\n' + '\n' + 'var _configFilename = require("/Users/morgan/Sites/storybook-react/node_modules/@storybook/addon-a11y/dist/a11yRunner.js");\n' + '\n' + 'function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n' + '\n' + 'function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n' + '\n' + 'function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n' + '\n' + 'if (_configFilename.args || _configFilename.argTypes) {\n' + " _clientLogger.logger.warn('Invalid args/argTypes in config, ignoring.', JSON.stringify({\n" + ' args: _configFilename.args,\n' + ' argTypes: _configFilename.argTypes\n' + ' }));\n' + '}\n' + '\n' + 'if (_configFilename.decorators) {\n' + ' _configFilename.decorators.forEach(function (decorator) {\n' + ' return (0, _clientApi.addDecorator)(decorator, false);\n' + ' });\n' + '}\n' + '\n' + 'if (_configFilename.loaders) {\n' + ' _configFilename.loaders.forEach(function (loader) {\n' + ' return (0, _clientApi.addLoader)(loader, false);\n' + ' });\n' + '}\n' + '\n' + 'if (_configFilename.parameters || _configFilename.globals || _configFilename.globalTypes) {\n' + ' (0, _clientApi.addParameters)(_objectSpread(_objectSpread({}, _configFilename.parameters), {}, {\n' + ' globals: _configFilename.globals,\n' + ' globalTypes: _configFilename.globalTypes\n' + ' }), false);\n' + '}\n' + '\n' + 'if (_configFilename.argTypesEnhancers) {\n' + ' _configFilename.argTypesEnhancers.forEach(function (enhancer) {\n' + ' return (0, _clientApi.addArgTypesEnhancer)(enhancer);\n' + ' });\n' + '}', '/Users/morgan/Sites/storybook-react/node_modules/@storybook/addon-a11y/dist/a11yHighlight.js-generated-other-entry.js': '"use strict";\n' + '\n' + 'var _clientApi = require("/Users/morgan/Sites/storybook-react/node_modules/@storybook/client-api");\n' + '\n' + 'var _clientLogger = require("/Users/morgan/Sites/storybook-react/node_modules/@storybook/client-logger");\n' + '\n' + 'var _configFilename = require("/Users/morgan/Sites/storybook-react/node_modules/@storybook/addon-a11y/dist/a11yHighlight.js");\n' + '\n' + 'function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n' + '\n' + 'function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n' + '\n' + 'function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n' + '\n' + 'if (_configFilename.args || _configFilename.argTypes) {\n' + " _clientLogger.logger.warn('Invalid args/argTypes in config, ignoring.', JSON.stringify({\n" + ' args: _configFilename.args,\n' + ' argTypes: _configFilename.argTypes\n' + ' }));\n' + '}\n' + '\n' + 'if (_configFilename.decorators) {\n' + ' _configFilename.decorators.forEach(function (decorator) {\n' + ' return (0, _clientApi.addDecorator)(decorator, false);\n' + ' });\n' + '}\n' + '\n' + 'if (_configFilename.loaders) {\n' + ' _configFilename.loaders.forEach(function (loader) {\n' + ' return (0, _clientApi.addLoader)(loader, false);\n' + ' });\n' + '}\n' + '\n' + 'if (_configFilename.parameters || _configFilename.globals || _configFilename.globalTypes) {\n' + ' (0, _clientApi.addParameters)(_objectSpread(_objectSpread({}, _configFilename.parameters), {}, {\n' + ' globals: _configFilename.globals,\n' + ' globalTypes: _configFilename.globalTypes\n' + ' }), false);\n' + '}\n' + '\n' + 'if (_configFilename.argTypesEnhancers) {\n' + ' _configFilename.argTypesEnhancers.forEach(function (enhancer) {\n' + ' return (0, _clientApi.addArgTypesEnhancer)(enhancer);\n' + ' });\n' + '}', '/Users/morgan/Sites/storybook-react/.storybook/preview.js-generated-config-entry.js': '"use strict";\n' + '\n' + 'var _clientApi = require("/Users/morgan/Sites/storybook-react/node_modules/@storybook/client-api");\n' + '\n' + 'var _clientLogger = require("/Users/morgan/Sites/storybook-react/node_modules/@storybook/client-logger");\n' + '\n' + 'var _configFilename = require("/Users/morgan/Sites/storybook-react/.storybook/preview.js");\n' + '\n' + 'function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n' + '\n' + 'function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n' + '\n' + 'function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n' + '\n' + 'if (_configFilename.args || _configFilename.argTypes) {\n' + " _clientLogger.logger.warn('Invalid args/argTypes in config, ignoring.', JSON.stringify({\n" + ' args: _configFilename.args,\n' + ' argTypes: _configFilename.argTypes\n' + ' }));\n' + '}\n' + '\n' + 'if (_configFilename.decorators) {\n' + ' _configFilename.decorators.forEach(function (decorator) {\n' + ' return (0, _clientApi.addDecorator)(decorator, false);\n' + ' });\n' + '}\n' + '\n' + 'if (_configFilename.loaders) {\n' + ' _configFilename.loaders.forEach(function (loader) {\n' + ' return (0, _clientApi.addLoader)(loader, false);\n' + ' });\n' + '}\n' + '\n' + 'if (_configFilename.parameters || _configFilename.globals || _configFilename.globalTypes) {\n' + ' (0, _clientApi.addParameters)(_objectSpread(_objectSpread({}, _configFilename.parameters), {}, {\n' + ' globals: _configFilename.globals,\n' + ' globalTypes: _configFilename.globalTypes\n' + ' }), false);\n' + '}\n' + '\n' + 'if (_configFilename.argTypesEnhancers) {\n' + ' _configFilename.argTypesEnhancers.forEach(function (enhancer) {\n' + ' return (0, _clientApi.addArgTypesEnhancer)(enhancer);\n' + ' });\n' + '}', '/Users/morgan/Sites/storybook-react/.storybook/generated-stories-entry.js': '"use strict";\n' + '\n' + 'var _frameworkImportPath = require("@storybook/react");\n' + '\n' + '/* eslint-disable import/no-unresolved */\n' + "(0, _frameworkImportPath.configure)([require.context('/Users/morgan/Sites/storybook-react/src', true, /^\\.(?:(?:^|\\/|(?:(?:(?!(?:^|\\/)\\.).)*?)\\/)(?!\\.)(?=.)[^/]*?\\.stories\\.mdx)$/),require.context('/Users/morgan/Sites/storybook-react/src', true, /^\\.(?:(?:^|\\/|(?:(?:(?!(?:^|\\/)\\.).)*?)\\/)(?!\\.)(?=.)[^/]*?\\.stories\\.js)$/)], module, false);" } }, HtmlWebpackPlugin { options: { template: '/Users/morgan/Sites/storybook-react/node_modules/@storybook/core/dist/server/templates/index.ejs', templateContent: false, templateParameters: [Function: templateParameters], filename: 'iframe.html', publicPath: 'auto', hash: false, inject: false, scriptLoading: 'blocking', compile: true, favicon: false, minify: { collapseWhitespace: true, removeComments: true, removeRedundantAttributes: true, removeScriptTypeAttributes: false, removeStyleLinkTypeAttributes: true, useShortDoctype: true }, cache: true, showErrors: true, chunks: 'all', excludeChunks: [], chunksSortMode: 'none', meta: {}, base: false, title: 'Webpack App', xhtml: false, alwaysWriteToDisk: true }, childCompilerHash: undefined, assetJson: undefined, hash: undefined, version: 4 }, DefinePlugin { definitions: { 'process.env': { NODE_ENV: '"development"', NODE_PATH: '""', STORYBOOK: '"true"', PUBLIC_URL: '"."' }, NODE_ENV: '"development"' } }, WatchMissingNodeModulesPlugin { nodeModulesPath: '/Users/morgan/Sites/storybook-react/node_modules' }, HotModuleReplacementPlugin { options: {}, multiStep: undefined, fullBuildTimeout: 200, requestTimeout: 10000 }, CaseSensitivePathsPlugin { options: {}, logger: Object [console] { log: [Function: log], warn: [Function: warn], dir: [Function: dir], time: [Function: time], timeEnd: [Function: timeEnd], timeLog: [Function: timeLog], trace: [Function: trace], assert: [Function: assert], clear: [Function: clear], count: [Function: count], countReset: [Function: countReset], group: [Function: group], groupEnd: [Function: groupEnd], table: [Function: table], debug: [Function: debug], info: [Function: info], dirxml: [Function: dirxml], error: [Function: error], groupCollapsed: [Function: groupCollapsed], Console: [Function: Console], profile: [Function: profile], profileEnd: [Function: profileEnd], timeStamp: [Function: timeStamp], context: [Function: context] }, pathCache: {}, fsOperations: 0, primed: false }, ProgressPlugin { profile: false, handler: undefined, modulesCount: 500, showEntries: false, showModules: true, showActiveModules: true }, DefinePlugin { definitions: {} }, EmptyPlugin {} ], module: { rules: [ { test: /\.(mjs|tsx?|jsx?)$/, use: [ { loader: '/Users/morgan/Sites/storybook-react/node_modules/babel-loader/lib/index.js', options: { cacheDirectory: '/Users/morgan/Sites/storybook-react/node_modules/.cache/storybook/babel', sourceType: 'unambiguous', presets: [ [ '/Users/morgan/Sites/storybook-react/node_modules/@babel/preset-env/lib/index.js', { shippedProposals: true, useBuiltIns: 'usage', corejs: '3' } ], '/Users/morgan/Sites/storybook-react/node_modules/@babel/preset-typescript/lib/index.js', [ '/Users/morgan/Sites/storybook-react/node_modules/@babel/preset-react/lib/index.js', { runtime: 'automatic' } ], '/Users/morgan/Sites/storybook-react/node_modules/@babel/preset-flow/lib/index.js' ], plugins: [ '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-transform-shorthand-properties/lib/index.js', '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-transform-block-scoping/lib/index.js', [ '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-proposal-decorators/lib/index.js', { legacy: true } ], [ '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-proposal-class-properties/lib/index.js', { loose: true } ], [ '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-proposal-private-methods/lib/index.js', { loose: true } ], '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-proposal-export-default-from/lib/index.js', '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-syntax-dynamic-import/lib/index.js', [ '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-proposal-object-rest-spread/lib/index.js', { loose: true, useBuiltIns: true } ], '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-transform-classes/lib/index.js', '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-transform-arrow-functions/lib/index.js', '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-transform-parameters/lib/index.js', '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-transform-destructuring/lib/index.js', '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-transform-spread/lib/index.js', '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-transform-for-of/lib/index.js', '/Users/morgan/Sites/storybook-react/node_modules/babel-plugin-macros/dist/index.js', '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-proposal-optional-chaining/lib/index.js', '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-proposal-nullish-coalescing-operator/lib/index.js', [ '/Users/morgan/Sites/storybook-react/node_modules/babel-plugin-emotion/dist/babel-plugin-emotion.cjs.js', { sourceMap: true, autoLabel: true } ], '/Users/morgan/Sites/storybook-react/node_modules/babel-plugin-add-react-displayname/index.js' ], overrides: [ { test: /\.(mjs|jsx?)$/, plugins: [ [ '/Users/morgan/Sites/storybook-react/node_modules/babel-plugin-react-docgen/lib/index.js', { DOC_GEN_COLLECTION_NAME: 'STORYBOOK_REACT_CLASSES' } ] ] } ] } } ], include: [ '/Users/morgan/Sites/storybook-react' ], exclude: /node_modules/ }, { test: /\.js$/, use: [ { loader: '/Users/morgan/Sites/storybook-react/node_modules/babel-loader/lib/index.js', options: { sourceType: 'unambiguous', presets: [ [ '/Users/morgan/Sites/storybook-react/node_modules/@babel/preset-env/lib/index.js', { shippedProposals: true, useBuiltIns: 'usage', corejs: '3' } ], '/Users/morgan/Sites/storybook-react/node_modules/@babel/preset-react/lib/index.js' ], plugins: [ '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-transform-shorthand-properties/lib/index.js', '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-transform-block-scoping/lib/index.js', [ '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-proposal-decorators/lib/index.js', { legacy: true } ], [ '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-proposal-class-properties/lib/index.js', { loose: true } ], [ '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-proposal-private-methods/lib/index.js', { loose: true } ], '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-proposal-export-default-from/lib/index.js', '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-syntax-dynamic-import/lib/index.js', [ '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-proposal-object-rest-spread/lib/index.js', { loose: true, useBuiltIns: true } ], '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-transform-classes/lib/index.js', '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-transform-arrow-functions/lib/index.js', '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-transform-parameters/lib/index.js', '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-transform-destructuring/lib/index.js', '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-transform-spread/lib/index.js', '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-transform-for-of/lib/index.js', '/Users/morgan/Sites/storybook-react/node_modules/babel-plugin-macros/dist/index.js', '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-proposal-optional-chaining/lib/index.js', '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-proposal-nullish-coalescing-operator/lib/index.js' ] } } ], include: /[\\/]node_modules[\\/](@storybook\/node-logger|are-you-es5|better-opn|boxen|chalk|commander|find-cache-dir|find-up|fs-extra|json5|node-fetch|pkg-dir|resolve-from|semver)/ }, { test: /\.md$/, use: [ { loader: '/Users/morgan/Sites/storybook-react/node_modules/@storybook/core/node_modules/raw-loader/dist/cjs.js' } ] }, { test: /\.js$/, include: /node_modules\/acorn-jsx/, use: [ { loader: '/Users/morgan/Sites/storybook-react/node_modules/babel-loader/lib/index.js', options: { presets: [ [ '/Users/morgan/Sites/storybook-react/node_modules/@babel/preset-env/lib/index.js', { modules: 'commonjs' } ] ] } } ] }, { test: /\.(stories|story)\.mdx$/, use: [ { loader: '/Users/morgan/Sites/storybook-react/node_modules/babel-loader/lib/index.js', options: { babelrc: false, configFile: false, cacheDirectory: '/Users/morgan/Sites/storybook-react/node_modules/.cache/storybook/babel', sourceType: 'unambiguous', presets: [ [ '/Users/morgan/Sites/storybook-react/node_modules/@babel/preset-env/lib/index.js', { shippedProposals: true, useBuiltIns: 'usage', corejs: '3' } ], '/Users/morgan/Sites/storybook-react/node_modules/@babel/preset-typescript/lib/index.js', [ '/Users/morgan/Sites/storybook-react/node_modules/@babel/preset-react/lib/index.js', { runtime: 'automatic' } ], '/Users/morgan/Sites/storybook-react/node_modules/@babel/preset-flow/lib/index.js' ], plugins: [ '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-transform-shorthand-properties/lib/index.js', '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-transform-block-scoping/lib/index.js', [ '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-proposal-decorators/lib/index.js', { legacy: true } ], [ '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-proposal-class-properties/lib/index.js', { loose: true } ], [ '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-proposal-private-methods/lib/index.js', { loose: true } ], '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-proposal-export-default-from/lib/index.js', '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-syntax-dynamic-import/lib/index.js', [ '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-proposal-object-rest-spread/lib/index.js', { loose: true, useBuiltIns: true } ], '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-transform-classes/lib/index.js', '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-transform-arrow-functions/lib/index.js', '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-transform-parameters/lib/index.js', '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-transform-destructuring/lib/index.js', '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-transform-spread/lib/index.js', '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-transform-for-of/lib/index.js', '/Users/morgan/Sites/storybook-react/node_modules/babel-plugin-macros/dist/index.js', '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-proposal-optional-chaining/lib/index.js', '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-proposal-nullish-coalescing-operator/lib/index.js', [ '/Users/morgan/Sites/storybook-react/node_modules/babel-plugin-emotion/dist/babel-plugin-emotion.cjs.js', { sourceMap: true, autoLabel: true } ], '/Users/morgan/Sites/storybook-react/node_modules/babel-plugin-add-react-displayname/index.js', [ '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-transform-react-jsx/lib/index.js', { pragma: 'React.createElement', pragmaFrag: 'React.Fragment' } ] ], overrides: [ { test: /\.(mjs|jsx?)$/, plugins: [ [ '/Users/morgan/Sites/storybook-react/node_modules/babel-plugin-react-docgen/lib/index.js', { DOC_GEN_COLLECTION_NAME: 'STORYBOOK_REACT_CLASSES' } ] ] } ] } }, { loader: '/Users/morgan/Sites/storybook-react/node_modules/@mdx-js/loader/index.js', options: { compilers: [ [Function: compiler] ], remarkPlugins: [ [Function: slug], [Function: externalLinks] ] } } ] }, { test: /\.mdx$/, exclude: /\.(stories|story)\.mdx$/, use: [ { loader: '/Users/morgan/Sites/storybook-react/node_modules/babel-loader/lib/index.js', options: { babelrc: false, configFile: false, cacheDirectory: '/Users/morgan/Sites/storybook-react/node_modules/.cache/storybook/babel', sourceType: 'unambiguous', presets: [ [ '/Users/morgan/Sites/storybook-react/node_modules/@babel/preset-env/lib/index.js', { shippedProposals: true, useBuiltIns: 'usage', corejs: '3' } ], '/Users/morgan/Sites/storybook-react/node_modules/@babel/preset-typescript/lib/index.js', [ '/Users/morgan/Sites/storybook-react/node_modules/@babel/preset-react/lib/index.js', { runtime: 'automatic' } ], '/Users/morgan/Sites/storybook-react/node_modules/@babel/preset-flow/lib/index.js' ], plugins: [ '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-transform-shorthand-properties/lib/index.js', '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-transform-block-scoping/lib/index.js', [ '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-proposal-decorators/lib/index.js', { legacy: true } ], [ '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-proposal-class-properties/lib/index.js', { loose: true } ], [ '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-proposal-private-methods/lib/index.js', { loose: true } ], '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-proposal-export-default-from/lib/index.js', '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-syntax-dynamic-import/lib/index.js', [ '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-proposal-object-rest-spread/lib/index.js', { loose: true, useBuiltIns: true } ], '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-transform-classes/lib/index.js', '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-transform-arrow-functions/lib/index.js', '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-transform-parameters/lib/index.js', '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-transform-destructuring/lib/index.js', '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-transform-spread/lib/index.js', '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-transform-for-of/lib/index.js', '/Users/morgan/Sites/storybook-react/node_modules/babel-plugin-macros/dist/index.js', '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-proposal-optional-chaining/lib/index.js', '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-proposal-nullish-coalescing-operator/lib/index.js', [ '/Users/morgan/Sites/storybook-react/node_modules/babel-plugin-emotion/dist/babel-plugin-emotion.cjs.js', { sourceMap: true, autoLabel: true } ], '/Users/morgan/Sites/storybook-react/node_modules/babel-plugin-add-react-displayname/index.js', [ '/Users/morgan/Sites/storybook-react/node_modules/@babel/plugin-transform-react-jsx/lib/index.js', { pragma: 'React.createElement', pragmaFrag: 'React.Fragment' } ] ], overrides: [ { test: /\.(mjs|jsx?)$/, plugins: [ [ '/Users/morgan/Sites/storybook-react/node_modules/babel-plugin-react-docgen/lib/index.js', { DOC_GEN_COLLECTION_NAME: 'STORYBOOK_REACT_CLASSES' } ] ] } ] } }, { loader: '/Users/morgan/Sites/storybook-react/node_modules/@mdx-js/loader/index.js', options: { remarkPlugins: [ [Function: slug], [Function: externalLinks] ] } } ] }, { test: /\.(stories|story)\.[tj]sx?$/, loader: '/Users/morgan/Sites/storybook-react/node_modules/@storybook/source-loader/dist/index.js', options: { injectStoryParameters: true, inspectLocalDependencies: true }, enforce: 'pre' }, { test: /\.css$/, sideEffects: true, use: [ '/Users/morgan/Sites/storybook-react/node_modules/@storybook/core/node_modules/style-loader/dist/cjs.js', { loader: '/Users/morgan/Sites/storybook-react/node_modules/@storybook/core/node_modules/css-loader/dist/cjs.js', options: { importLoaders: 1 } }, { loader: '/Users/morgan/Sites/storybook-react/node_modules/@storybook/core/node_modules/postcss-loader/src/index.js', options: { config: { path: '/Users/morgan/Sites/storybook-react' } } } ] }, { test: /\.(svg|ico|jpg|jpeg|png|apng|gif|eot|otf|webp|ttf|woff|woff2|cur|ani|pdf)(\?.*)?$/, loader: '/Users/morgan/Sites/storybook-react/node_modules/@storybook/core/node_modules/file-loader/dist/cjs.js', options: { name: 'static/media/[name].[hash:8].[ext]', esModule: false } }, { test: /\.(mp4|webm|wav|mp3|m4a|aac|oga)(\?.*)?$/, loader: '/Users/morgan/Sites/storybook-react/node_modules/@storybook/core/node_modules/url-loader/dist/cjs.js', query: { limit: 10000, name: 'static/media/[name].[hash:8].[ext]' } }, { test: /\.scss$/, exclude: /\.export\.scss$/, include: '/Users/morgan/Sites/storybook-react', use: [ 'style-loader', { loader: 'css-loader', options: { importLoaders: 1 } }, { loader: 'sass-loader', options: { implementation: { render: [Function (anonymous)] { '___dart__$dart_dartClosure_ZxYxX_0_': StaticClosure { '$initialize': [Function: StaticClosure], constructor: [Function: static_tear_off], '$static_name': '_render', '$signature': [Function (anonymous)], 'call$2': [Function: _render] { '$callName': 'call$2', '$requiredArgCount': 2, '$defaultValues': null, '$stubName': '_render', '$tearOff': [Function (anonymous)] }, 'call*': [Function: _render] { '$callName': 'call$2', '$requiredArgCount': 2, '$defaultValues': null, '$stubName': '_render', '$tearOff': [Function (anonymous)] }, '$requiredArgCount': 2, '$defaultValues': null, '$dart_jsFunction': [Circular *1] } }, renderSync: [Function (anonymous)] { '___dart__$dart_dartClosure_ZxYxX_0_': StaticClosure { '$initialize': [Function: StaticClosure], constructor: [Function: static_tear_off], '$static_name': '_renderSync', '$signature': [Function (anonymous)], 'call$1': [Function: _renderSync] { '$callName': 'call$1', '$requiredArgCount': 1, '$defaultValues': null, '$stubName': '_renderSync', '$tearOff': [Function (anonymous)] }, 'call*': [Function: _renderSync] { '$callName': 'call$1', '$requiredArgCount': 1, '$defaultValues': null, '$stubName': '_renderSync', '$tearOff': [Function (anonymous)] }, '$requiredArgCount': 1, '$defaultValues': null, '$dart_jsFunction': [Circular *2] } }, info: 'dart-sass\t1.32.7\t(Sass Compiler)\t[Dart]\n' + 'dart2js\t2.10.5\t(Dart Compiler)\t[Dart]', types: { Boolean: [Function (anonymous)] { '___dart__$dart_dartClosure_ZxYxX_0_': _closure34 { '$dart_jsFunction': [Circular *3] }, TRUE: SassBoolean { value: true }, FALSE: SassBoolean { value: false } }, Color: [Function: SassColor] { '___dart__$dart_dartClosure_ZxYxX_0_': closure253 { '_$dart_jsFunctionCaptureThis': [Circular *4] } }, List: [Function: SassList] { '___dart__$dart_dartClosure_ZxYxX_0_': closure246 { '_$dart_jsFunctionCaptureThis': [Circular *5] } }, Map: [Function: SassMap] { '___dart__$dart_dartClosure_ZxYxX_0_': closure239 { '_$dart_jsFunctionCaptureThis': [Circular *6] } }, Null: [Function (anonymous)] { '___dart__$dart_dartClosure_ZxYxX_0_': _closure29 { '$dart_jsFunction': [Circular *7] }, NULL: SassNull { toString: [Function (anonymous)] { '___dart__$dart_dartClosure_ZxYxX_0_': _closure30 { '$dart_jsFunction': [Circular *8] } } } }, Number: [Function: SassNumber] { '___dart__$dart_dartClosure_ZxYxX_0_': closure232 { '_$dart_jsFunctionCaptureThis': [Circular *9] } }, String: [Function: SassString] { '___dart__$dart_dartClosure_ZxYxX_0_': closure228 { '_$dart_jsFunctionCaptureThis': [Circular *10] } }, Error: [Function: Error] { stackTraceLimit: 16, prepareStackTrace: undefined } }, NULL: SassNull { toString: [Function (anonymous)] { '___dart__$dart_dartClosure_ZxYxX_0_': _closure30 { '$dart_jsFunction': [Circular *8] } } }, TRUE: SassBoolean { value: true }, FALSE: SassBoolean { value: false }, cli_pkg_main_0_: [Function (anonymous)] { '___dart__$dart_dartClosure_ZxYxX_0_': _wrapMain_closure0 { main: StaticClosure { '$initialize': [Function: StaticClosure], constructor: [Function: static_tear_off], '$static_name': 'main', '$signature': [Function (anonymous)], 'call$1': [Function: main] { '$callName': 'call$1', '$requiredArgCount': 1, '$defaultValues': null, '$stubName': 'main', '$tearOff': [Function (anonymous)] }, 'call*': [Function: main] { '$callName': 'call$1', '$requiredArgCount': 1, '$defaultValues': null, '$stubName': 'main', '$tearOff': [Function (anonymous)] }, '$requiredArgCount': 1, '$defaultValues': null }, '$dart_jsFunction': [Circular *11] } } } } } ] }, { test: /\.export\.scss$/, include: '/Users/morgan/Sites/storybook-react', use: [ { loader: 'style-loader' }, { loader: 'css-loader', options: { importLoaders: 1, modules: { compileType: 'icss' } } }, { loader: 'sass-loader', options: { implementation: { render: [Function (anonymous)] { '___dart__$dart_dartClosure_ZxYxX_0_': StaticClosure { '$initialize': [Function: StaticClosure], constructor: [Function: static_tear_off], '$static_name': '_render', '$signature': [Function (anonymous)], 'call$2': [Function: _render] { '$callName': 'call$2', '$requiredArgCount': 2, '$defaultValues': null, '$stubName': '_render', '$tearOff': [Function (anonymous)] }, 'call*': [Function: _render] { '$callName': 'call$2', '$requiredArgCount': 2, '$defaultValues': null, '$stubName': '_render', '$tearOff': [Function (anonymous)] }, '$requiredArgCount': 2, '$defaultValues': null, '$dart_jsFunction': [Circular *1] } }, renderSync: [Function (anonymous)] { '___dart__$dart_dartClosure_ZxYxX_0_': StaticClosure { '$initialize': [Function: StaticClosure], constructor: [Function: static_tear_off], '$static_name': '_renderSync', '$signature': [Function (anonymous)], 'call$1': [Function: _renderSync] { '$callName': 'call$1', '$requiredArgCount': 1, '$defaultValues': null, '$stubName': '_renderSync', '$tearOff': [Function (anonymous)] }, 'call*': [Function: _renderSync] { '$callName': 'call$1', '$requiredArgCount': 1, '$defaultValues': null, '$stubName': '_renderSync', '$tearOff': [Function (anonymous)] }, '$requiredArgCount': 1, '$defaultValues': null, '$dart_jsFunction': [Circular *2] } }, info: 'dart-sass\t1.32.7\t(Sass Compiler)\t[Dart]\n' + 'dart2js\t2.10.5\t(Dart Compiler)\t[Dart]', types: { Boolean: [Function (anonymous)] { '___dart__$dart_dartClosure_ZxYxX_0_': _closure34 { '$dart_jsFunction': [Circular *3] }, TRUE: SassBoolean { value: true }, FALSE: SassBoolean { value: false } }, Color: [Function: SassColor] { '___dart__$dart_dartClosure_ZxYxX_0_': closure253 { '_$dart_jsFunctionCaptureThis': [Circular *4] } }, List: [Function: SassList] { '___dart__$dart_dartClosure_ZxYxX_0_': closure246 { '_$dart_jsFunctionCaptureThis': [Circular *5] } }, Map: [Function: SassMap] { '___dart__$dart_dartClosure_ZxYxX_0_': closure239 { '_$dart_jsFunctionCaptureThis': [Circular *6] } }, Null: [Function (anonymous)] { '___dart__$dart_dartClosure_ZxYxX_0_': _closure29 { '$dart_jsFunction': [Circular *7] }, NULL: SassNull { toString: [Function (anonymous)] { '___dart__$dart_dartClosure_ZxYxX_0_': _closure30 { '$dart_jsFunction': [Circular *8] } } } }, Number: [Function: SassNumber] { '___dart__$dart_dartClosure_ZxYxX_0_': closure232 { '_$dart_jsFunctionCaptureThis': [Circular *9] } }, String: [Function: SassString] { '___dart__$dart_dartClosure_ZxYxX_0_': closure228 { '_$dart_jsFunctionCaptureThis': [Circular *10] } }, Error: [Function: Error] { stackTraceLimit: 16, prepareStackTrace: undefined } }, NULL: SassNull { toString: [Function (anonymous)] { '___dart__$dart_dartClosure_ZxYxX_0_': _closure30 { '$dart_jsFunction': [Circular *8] } } }, TRUE: SassBoolean { value: true }, FALSE: SassBoolean { value: false }, cli_pkg_main_0_: [Function (anonymous)] { '___dart__$dart_dartClosure_ZxYxX_0_': _wrapMain_closure0 { main: StaticClosure { '$initialize': [Function: StaticClosure], constructor: [Function: static_tear_off], '$static_name': 'main', '$signature': [Function (anonymous)], 'call$1': [Function: main] { '$callName': 'call$1', '$requiredArgCount': 1, '$defaultValues': null, '$stubName': 'main', '$tearOff': [Function (anonymous)] }, 'call*': [Function: main] { '$callName': 'call$1', '$requiredArgCount': 1, '$defaultValues': null, '$stubName': 'main', '$tearOff': [Function (anonymous)] }, '$requiredArgCount': 1, '$defaultValues': null }, '$dart_jsFunction': [Circular *11] } } } } } ] } ] }, resolve: { extensions: [ '.mjs', '.js', '.jsx', '.ts', '.tsx', '.json', '.cjs' ], modules: [ 'node_modules' ], alias: { app: '/Users/morgan/Sites/storybook-react/src/app/', assets: '/Users/morgan/Sites/storybook-react/src/assets/', components: '/Users/morgan/Sites/storybook-react/src/components/', constants: '/Users/morgan/Sites/storybook-react/src/constants/', helpers: '/Users/morgan/Sites/storybook-react/src/helpers/', styles: '/Users/morgan/Sites/storybook-react/src/styles/' }, plugins: [ { apply: [Function: nothing], makePlugin: [Function (anonymous)], moduleLoader: [Function (anonymous)], topLevelLoader: { apply: [Function: nothing] }, bind: [Function (anonymous)], tsLoaderOptions: [Function (anonymous)], forkTsCheckerOptions: [Function (anonymous)] } ] }, resolveLoader: { plugins: [ { apply: [Function: nothing] } ] }, optimization: { splitChunks: { chunks: 'all' }, runtimeChunk: true, minimizer: [] }, performance: { hints: false } } ```
lucascurti commented 3 years ago

Deleting node_modules/.cache and restarting temporary fix it. In my case it breaks when saving multiple files. Once it breaks, it doesn't matter if I restart storybook, it will still be broken and deleting the cache is the only way to fix it.

krishn-kk commented 3 years ago

Hi, have we identified any issues regarding this? Or is it already fixed in the latest updates? Cause I was using Storybook v6.1.21 and facing the exact same issue.

reno1979 commented 3 years ago

same problem here (6.3.0 -> 6.3.4) It keeps building and is very very slow. The project has only 10 stories

shilman commented 1 year ago

We’re cleaning house! Storybook has changed a lot since this issue was created and we don’t know if it’s still valid. Please open a new issue referencing this one if: