text: const path = require('path');
  
  module.exports = {
    module: {
      rules: [
        {
          test: /\.tsx?$/,
          loader: 'ts-loader',
          include: [
            path.join(__dirname, '../src'),
            path.join(__dirname, '../stories')
          ],
          options: {
            transpileOnly: true
          }
        }
      ]
    },
    resolve: {
      extensions: ['.ts', '.tsx', '.js', '.jsx']
    }
  };
  