1 | var watcher = require('@john-yuan/dev-browserify-watcher');
|
2 |
|
3 | exports.watch = function () {
|
4 | watcher.watch({
|
5 | entry: 'index.js',
|
6 | output: 'dist/querystring.js',
|
7 | paths: ['util/**/*.js', 'index.js', 'encode.js', 'decode.js'],
|
8 | browserifyOptions: {
|
9 | debug: true,
|
10 | standalone: 'QS',
|
11 | detectGlobals: false,
|
12 | plugin: [ 'bundle-collapser/plugin' ]
|
13 | },
|
14 | chokidarOptions: {},
|
15 | });
|
16 | };
|