简体   繁体   English

create-react-app + Webpack 5 不弹出

[英]create-react-app + Webpack 5 without ejecting

Is there a way to overwrite the webpack version without ejecting?有没有办法在不弹出的情况下覆盖 webpack 版本?

I know rescripts or similar packages can be used to modify the webpack config without ejecting but can it replace the webpack with my chosen version?我知道rescripts或类似的包可以用来修改 webpack 配置而不弹出,但它可以用我选择的版本替换 webpack 吗?

Don't think it's possible.不要认为这是可能的。 Too many custom settings need to be configured manually.太多的自定义设置需要手动配置。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 有没有办法在不弹出的情况下为 create-react-app 更改 webpack 的 eslint - Is there a way to change the eslint of the webpack for the create-react-app without ejecting 如何在不弹出的情况下将 Webpack 模块联合插件与 create-react-app 一起使用 - How to use Webpack Module Federation plugin with create-react-app without ejecting 在 create-react-app 项目中使用 dotenv 文件而不弹出 - Using dotenv files in create-react-app project without ejecting create-react-app 使用自定义 service worker 而不弹出 - create-react-app use custom service worker without ejecting 使用 styled-jsx 而不弹出 create-react-app - Use styled-jsx without ejecting create-react-app 弹出facebook / create-react-app时如何生成webpack.conf.js文件 - How to generate webpack.conf.js files when ejecting facebook / create-react-app 使用create-react-app代码拆分分离CSS文件而不弹出 - Separate CSS files using create-react-app code-splitting without ejecting 如何在create-react-app中禁用CSS构建而不弹出? - How can I disable CSS builds in create-react-app without ejecting? 使用babel-preset-env进行转换,而无需从create-react-app弹出 - Transpile using babel-preset-env without ejecting from create-react-app 如何在不弹出的情况下将 CopyWebpackPlugin 添加到 create-react-app? - How can I add the CopyWebpackPlugin to create-react-app without ejecting?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM