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
assets by status 126 bytes [cached] 1 asset
./lib/main.js 17 bytes [built] [code generated]
WARNING in configuration
The 'mode' option has not been set, webpack will fallback to 'production' for this value.
Set 'mode' option to 'development' or 'production' to enable defaults for each environment.
You can also set it to 'none' to disable any default behavior. Learn more: https://webpack.js.org/configuration/mode/
ERROR in ./lib/main.js 1:0-16
Module not found: Error: Can't resolve '#index' in '/mnt/hgfs/projects/work/tmp/webpack-imports/lib'
resolve '#index' in '/mnt/hgfs/projects/work/tmp/webpack-imports/lib'
using description file: /mnt/hgfs/projects/work/tmp/webpack-imports/package.json (relative path: ./lib)
Field 'browser' doesn't contain a valid alias configuration
webpack 5.36.0 compiled with 1 error and 1 warning in 200 ms
I created minimal webpack project:
package.json
:lib/main.js
Then run:
Error:
Originally posted by @zdm in webpack/webpack#13254 (comment)
The text was updated successfully, but these errors were encountered: