Skip to content

feat: Custom script for running React apps using Capacitor #4146

@ionitron-bot

Description

@ionitron-bot

Original issue by @ch4rlesyeo on 2019-09-01T01:15:53Z

Feature Request

Ionic version:
[x] 4.x

Describe the Feature Request
Allow Ionic/Capacitor to run custom scripts for running React app. (Capacitor runs react-scripts start by default)

Related Code
We could run something like node scripts/start.js to jump start our React apps in development mode and node scripts/build.js to production mode.

Additional Context
In cases we couldn't ideally build our React apps with CRA pre-configured settings and will need to eject CRA to customise Webpack in our project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions