Passed
Branch master (ea9505)
by Rafael S.
01:23
created

webpack.config.js (1 issue)

Severity
1
const fs = require('fs');
0 ignored issues
show
The constant fs seems to be never used. Consider removing it.
Loading history...
2
3
module.exports = {
4
  entry: './index.js',
5
  output: {
6
    filename: './dist/wavefile.js'
7
  },
8
  module: {
9
    loaders: [
10
      {
11
        test:  /index\.js$/,
12
        loader: 'string-replace-loader',
13
        query: {
14
          multiple: [
15
            {
16
              search: 'module.exports.WaveFile',
17
              replace: "window['WaveFile']",
18
            },
19
          ]
20
        }
21
      }
22
    ]
23
  }
24
};