You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
set experiments.futureDefaults: true in webpack.config.js
start webpack-dev-server
Actual Behavior
webpack-dev-server prints this warning about punycode, which is a dependency of url which is a dependency of webpack-dev-server:
WARNING in ./node_modules/url/node_modules/punycode/punycode.js 9:25-31
"global" has been used, it will be undefined in next major version.
The global namespace object is Node.js feature and doesn't present in browser.
@ ./node_modules/url/url.js 24:15-34
@ ./node_modules/webpack-dev-server/client/utils/parseURL.js 1:0-22 35:16-25
@ ./node_modules/webpack-dev-server/client/index.js?protocol=ws%3A&hostname=0.0.0.0&port=8080&pathname=%2Fws&logging=info&reconnect=10 4:0-43 23:26-34
Expected Behavior
No warning about modules that are part of webpack-dev-server.
The text was updated successfully, but these errors were encountered:
ludofischer
changed the title
With futureDefaults: true, webpack-dev-server warns about own url-module
With futureDefaults: true, webpack-dev-server warns about own dependency
Dec 21, 2021
Bug report
experiments.futureDefaults: true
inwebpack.config.js
Actual Behavior
webpack-dev-server prints this warning about
punycode
, which is a dependency ofurl
which is a dependency ofwebpack-dev-server
:Expected Behavior
No warning about modules that are part of webpack-dev-server.
How Do We Reproduce?
Reproduction repo: https://github.com/ludofischer/webpack-dev-server-future-warning
Please paste the results of
npx webpack-cli info
here, and mention other relevant informationSystem:
OS: Linux 5.15 Fedora Linux 35 (Workstation Edition)
CPU: (16) x64 AMD Ryzen 7 PRO 5850U with Radeon Graphics
Memory: 21.02 GB / 30.25 GB
Binaries:
Node: 16.13.0 - /usr/bin/node
Yarn: 1.22.10 - /usr/bin/yarn
npm: 8.1.0 - /usr/bin/npm
Browsers:
Firefox: 95.0
Packages:
html-webpack-plugin: ^5.5.0 => 5.5.0
webpack: ^5.65.0 => 5.65.0
webpack-cli: ^4.9.1 => 4.9.1
webpack-dev-server: ^4.7.0 => 4.7.0
The text was updated successfully, but these errors were encountered: