text: var path = require("path");
  
  module.exports = {
      output: {
          path: path.resolve(__dirname, "lib"),
          filename: "index.js",
          library: "ColorPicker",
          libraryTarget: "umd",
          umdNamedDefine: true
      },
      entry: path.resolve(__dirname, 'src/index.jsx'),
      module: {
          rules: [
              {
                  test: /\.(js|jsx)$/,
                  exclude: /node_modules/,
                  loader: "babel-loader"
              }, {
                  test: /\.(css|scss)$/,
                  use: [
                      'style-loader',
                      {
                          loader: "css-loader",
                          options: {
                              sourceMap: true,
                              modules: true,
                              localIdentName: '[local]__[hash:base64:5]'
                          }
                      },
                      'sass-loader'
                  ]
              }
          ]
      },
      resolve: {
          extensions: ['.js', '.jsx']
      }
  };