Fretboard component written in React.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

25 lines
585 B

  1. module.exports = {
  2. stories: ['../src/**/*.stories.(ts|tsx)'],
  3. addons: ['@storybook/addon-actions', '@storybook/addon-links', '@storybook/addon-docs'],
  4. webpackFinal: async (config) => {
  5. config.module.rules.push({
  6. test: /\.(ts|tsx)$/,
  7. use: [
  8. {
  9. loader: require.resolve('ts-loader'),
  10. options: {
  11. transpileOnly: true,
  12. },
  13. },
  14. {
  15. loader: require.resolve('react-docgen-typescript-loader'),
  16. },
  17. ],
  18. });
  19. config.resolve.extensions.push('.ts', '.tsx');
  20. return config;
  21. },
  22. };