silverstripe / webpack-config

Reusable webpack bundle declarations for Silverstripe modules
BSD 3-Clause "New" or "Revised" License
16 stars 9 forks source link

FIX Rename 'url' to 'node-url' to resolve browser API conflict #44

Closed Cheddam closed 4 years ago

Cheddam commented 4 years ago

Browsers already have a URL key on their window object, so this clashes with the expose-loader entry and makes it unusable.

Pairs with an adjustment to the expose-loader entry in silverstripe/admin: silverstripe/silverstripe-admin#1019