build: Moved build scripts out of adblockpluschrome directory [#1358]
This MR contains the following changes:
- Moved build scripts from adblockpluschrome/build/ to build/webext/.
- Merged adblockpluschrome/package.json into package.json.
- Use MJS file extension, because unlike adblockpluschrome, adblockplusui is not of type "module".
- Applied adblockplusui coding style, which requires
const
to be used in many places where adblockpluschrome allowslet
. - Updated file references accordingly.
- Removed
base
andcwd
options throughout build scripts, which we added to be able to use paths in our build configuration that are relative to the repo root.
- Removed
- Updated npm scripts accordingly.