Giter Club home page Giter Club logo

meypod / repack Goto Github PK

View Code? Open in Web Editor NEW

This project forked from callstack/repack

0.0 0.0 0.0 6.74 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.48% C 0.13% Objective-C 1.34% Java 3.24% Kotlin 2.53% TypeScript 69.42% CSS 0.73% Objective-C++ 2.75% 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.


Go to: Installation Go to: Usage Go to: Usage

Go to: Usage Go to: Usage

Build Status Version MIT License PRs Welcome Code of Conduct

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.js 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
  • 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

Planned features

Available at: Projects

  • ChunksToHermesBytecodePlugin plugin to automatically transform async chunks to bytecode format.
  • Code signing and verification
  • webpack-init command

Examples

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

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

zamotany avatar jbinda avatar tmaszko avatar oblador avatar ramyareye avatar vamshi9666 avatar joe06102 avatar davewelling avatar deorst avatar jackhedaya avatar souhe avatar jaridmargolin avatar mateww avatar michalchudziak avatar gorbypark avatar oliverni avatar niuguohui avatar roshangm1 avatar eps1lon avatar scriptedalchemy avatar lukaszchopin 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.