module.exports = {
  entry: './src/wildcard-regex.js',
  output: {
    path: './dist',
    filename: 'wildcard-regex.js',
    library: 'wildcardRegex',
    libraryTarget: 'umd'
  }
};

@@ -28,28 +28,19 @@
  './src/
-wildcard-reg
+ind
 ex.js',%0A

Update webpack.config.js to reflect new entry point in src/index.js