text: var path = require('path');
   
  module.exports = {
      mode: 'production',
      entry: './src/ReactStepperComponent.js',
      output: {
          path: path.resolve('lib'),
          filename: 'ReactStepperComponent.js',
          libraryTarget: 'commonjs2'
      },
      module: {
          rules: [
              {
                  test: /\.jsx?$/,
                  exclude: /(node_modules)/,
                  use: 'babel-loader'
              },
              {
                  test:  /\.(scss|sass)$/,
                  use: [
                      "style-loader", // creates style nodes from JS strings
                      "css-loader", // translates CSS into CommonJS
                      "sass-loader" // compiles Sass to CSS, using Node Sass by default
                  ]
              }
          ]
      }
  }