rsnext/packages/next/build
Shahzeb K 25deefbba7 Avoid "ad" anywhere in the buildId (#6854)
* Added a check for ad_ in the buildId

* ad_ > ad

Co-Authored-By: lfades <luis@zeit.co>

* Update the `ad` comment

Co-Authored-By: lfades <luis@zeit.co>

* Avoid all buildId's that contain "ad"

Looking through the uBlock Origin filter list, it uses regex wildcards to avoid various things with "ad" anywhere in the string. It's a safe bet to just avoid "ad" all together (as opposed to just at the start).

* Use regex (case incensitive) to check for "ad" 

The following cases will set this regex to true:

```
/ad/i.test("somead")
/ad/i.test("someADlksdjf")
/ad/i.test("adlksdjf")
/ad/i.test("ADlksdjf")
```
2019-04-01 20:40:43 -04:00
..
babel Added useBuiltIns to babel object-rest-spread (#6805) 2019-03-31 17:30:25 +02:00
output Add AMP validation on export (#6794) 2019-03-26 16:21:27 -05:00
webpack Use a shared module cache (#6791) 2019-03-26 12:30:31 -04:00
compiler.ts Don't use webpack multiCompiler for single configuration (#6598) 2019-03-10 15:46:50 +01:00
entries.ts Inject the build ID after webpack runs (#6618) 2019-03-12 16:39:44 -04:00
generate-build-id.ts Avoid "ad" anywhere in the buildId (#6854) 2019-04-01 20:40:43 -04:00
index.ts Add a leading slash to passed pages (#6808) 2019-03-27 15:21:30 -04:00
is-writeable.ts Add Typescript types for builds functions (#5791) 2018-12-03 14:18:52 +01:00
webpack-config.ts Specified page builds (#6796) 2019-03-27 11:51:05 -04:00
write-build-id.ts Add Typescript types for builds functions (#5791) 2018-12-03 14:18:52 +01:00