Passed
Branch master (a986ee)
by Rafael S.
02:40 queued 01:11
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/endianness.js'
7
  },
8
  module: {
9
    loaders: [
10
      {
11
        test:  /index\.js$/,
12
        loader: 'string-replace-loader',
13
        query: {
14
          multiple: [
15
            // to 
16
            {
17
              search: 'module.exports.endianness',
18
              replace: "window['endianness']",
19
            }
20
          ]
21
        }
22
      }
23
    ]
24
  }
25
};