1 | const fs = require('fs'); |
||
0 ignored issues
–
show
Unused Code
introduced
by
![]() |
|||
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 | }; |