Musical keyboard component written in React.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 

25 行
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. };