Giter Site home page Giter Site logo

eps1lon / repack Goto Github PK

View Code? Open in Web Editor NEW

This project forked from callstack/repack

0.0 0.0 0.0 7.5 MB

A Webpack-based toolkit to build your React Native application with full support of Webpack ecosystem.

Home Page: https://re-pack.netlify.app

License: MIT License

Shell 0.09% JavaScript 16.63% Ruby 0.38% C++ 1.47% C 0.13% Objective-C 1.33% Java 3.23% Kotlin 2.52% TypeScript 69.49% CSS 0.72% Objective-C++ 2.74% Makefile 0.32% HTML 0.58% SCSS 0.24% Starlark 0.13%

repack's Introduction

A Webpack-based toolkit to build your React Native application with full support of Webpack ecosystem.


Build Status Version MIT License Chat PRs Welcome Code of Conduct Sponsored by Callstack

Re.Pack is a next generation of Haul — a Webpack-based bundler for React Native applications.

Re.Pack uses Webpack 5 and React Native CLI's plugin system to allow you to bundle your application using Webpack and allow to easily switch from Metro.

Check the base webpack.config.cjs or webpack.config.mjs template, if you're curious how it all looks like.

Features

  • Webpack ecosystem, plugins and utilities
  • Build production bundle for iOS, Android and out-of-tree platforms
  • Build development bundle for iOS, Android and out-of-tree platforms
  • Development server with support for:
    • Remote JS debugging
    • Source Map symbolication
    • Hot Module Replacement and React Refresh
    • Reloading application from CLI using r key
  • Built-in Hot Module Replacement + React Refresh support
  • Flipper support:
    • Crash Reporter,
    • Application logs
    • Layout
    • Network
    • Hermes debugger
    • React DevTools
    • Development server (debugging/verbose) logs
  • Hermes support:
    • Running the production/development bundle using Hermes engine
    • Transforming production bundle into bytecode bundle
    • Inspecting running Hermes engine with Flipper
    • ChunksToHermesBytecodePlugin plugin to transform async chunks into Hermes bytecode
  • Code splitting (experimental):
    • Dynamic import() support with and without React.lazy() (recommended).
    • Arbitrary scripts (only for advanced users).
  • REST API for development server:
    • GET /api/platforms - platforms with active compilations.
    • GET /api/:platform/assets - assets emitted from compilation.
    • GET /api/:platform/stats - data about compilation.
  • Module Federation support
  • Code signing and verification
  • @callstack/repack-init - tool that automates the integration of the Re.Pack into React-Native projects

Examples

Explore examples of React Native applications using Re.Pack here: https://github.com/callstack/repack-examples.

For a more comprehensive example of a Super App setup with Module Federation please visit our Super App Showcase repository.

Documentation

The documentation is available at: https://re-pack.netlify.app/

You can also use the following links to jump to specific topics:

Made with ❤️ at Callstack

@callstack/repack is an open source project and will always remain free to use. If you think it's cool, please star it 🌟. Callstack is a group of React and React Native geeks, contact us at [email protected] if you need any help with these or just want to say hi!

Like the project? ⚛️ Join the team who does amazing stuff for clients and drives React Native Open Source! 🔥

repack's People

Contributors

andrewworld avatar davewelling avatar deorst avatar eps1lon avatar ergenekonyigit avatar gorbypark avatar jackhedaya avatar jaridmargolin avatar jaworek avatar jbinda avatar jbroma avatar joe06102 avatar kerm1it avatar mateww avatar meypod avatar michalchudziak avatar mikeduminy avatar niuguohui avatar oblador avatar oliverni avatar rafikitiki avatar ramyareye avatar robik avatar roshangm1 avatar souhe avatar szymonrybczak avatar thymikee avatar tmaszko avatar vamshi9666 avatar zamotany avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.