yarn.lockを全く修正していないのに、2020/04/16にwebpackでbuildしたら以下のエラーが発生した
ERROR in ./src/javascript/something.ts
Module build failed (from ./node_modules/babel-loader/lib/index.js):
Error: Cannot find module '@babel/compat-data/corejs3-shipped-proposals'
Require stack:
- /home/circleci/project/node_modules/@babel/preset-env/lib/polyfills/corejs3/usage-plugin.js
- /home/circleci/project/node_modules/@babel/preset-env/lib/index.js
- /home/circleci/project/node_modules/@babel/core/lib/config/files/plugins.js
- /home/circleci/project/node_modules/@babel/core/lib/config/files/index.js
- /home/circleci/project/node_modules/@babel/core/lib/index.js
- /home/circleci/project/node_modules/babel-loader/lib/index.js
- /home/circleci/project/node_modules/loader-runner/lib/loadLoader.js
- /home/circleci/project/node_modules/loader-runner/lib/LoaderRunner.js
- /home/circleci/project/node_modules/webpack/lib/NormalModule.js
- /home/circleci/project/node_modules/webpack/lib/NormalModuleFactory.js
- /home/circleci/project/node_modules/webpack/lib/Compiler.js
原因は不明だが、package.jsonを7.9.0に固定したらうまく動いた
"@babel/preset-env": "=7.9.0"