Webpack/babel-loader
⟩ yarn build
yarn run v1.22.21
$ yarn build:clean && webpack --node-env=production
$ rimraf build; mkdir -p build
assets by status 149 bytes [cached] 1 asset
./src/index.ts 111 bytes [built] [code generated]
ERROR in ./src/index.ts 1:0-5:39
Module not found: Error: Default condition should be last one
webpack 5.90.3 compiled with 1 error in 165 ms
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.