Musical keyboard component written in React.
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

main.js 585 B

123456789101112131415161718192021222324
  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. };