This question is related to this SO post. I'm using create-react-app CLI
for my project. It is a small scale web app which I start (locally) by npm start
and it appears on browser. Now I need to generate a bundle.js
file of my entire web app so that it can be used with Adobe Phonegap. How do I do that with my existing app?
相关问题
- How to toggle on Order in ReactJS
- Ignore Typescript errors in Webpack-dev-server
- Refreshing page gives Cannot GET /page_url in reac
- Adding a timeout to a render function in ReactJS
- React Native Inline style for multiple Text in sin
相关文章
- 运行"WEBPACK_ENV=online webpack -p",如何将.scss e6文件转化
- Why would we use useEffect without a dependency ar
- Is it possible to get ref of props.children?
- Stateless function components cannot be given refs
- React testing library: Test attribute / prop
- React/JestJS/Enzyme: How to test for ref function?
- Material-UI [v0.x] RaisedButton on hover styles
- Remove expo from react native
react-scripts build
should do it. Add abuild
field to thescripts
section of yourpackage.json
file and then runnpm run build
. Example: