Giter Club home page Giter Club logo

Comments (7)

okikio avatar okikio commented on May 23, 2024 1

I'm currently working on a massive blog posts that will detail all the hidden features in bundlejs.

You may not know this but you can also use aliases in bundlejs.

{
    "aliases": { "@okikio/animate": "react-dom" },
    "esbuild": { ... }
}

I'll look into a package composition analyzer.

from bundlejs.

atomiks avatar atomiks commented on May 23, 2024

I just saw #13 is about peerDependencies. Clicking the settings icon and adding them to the "external" key works:

"esbuild": {
  "external": ["react", "react-dom"],

@okikio maybe add this to the docs?

The package composition feature would still be cool though 👍

from bundlejs.

okikio avatar okikio commented on May 23, 2024

The source of difficulty in implementing a package composition analyzer is the creation of a graph, I'd appreciate it if you or really anyone could design a graph for it, it's quite a bit of work....Lol 😅.

from bundlejs.

atomiks avatar atomiks commented on May 23, 2024

@okikio 😰 I have no experience in this area so if it's too hard feel free to close

from bundlejs.

okikio avatar okikio commented on May 23, 2024

@atomiks I've put out a call to collaborate, maybe share it around with other peeps and lets see if we can make magic happen.

twitter.com/jsbundle/status/1520921432112443392

from bundlejs.

okikio avatar okikio commented on May 23, 2024

@atomiks I've found someone willing to collaborate with me to implement a package composition graph.

Also, I've added docs about aliases and externals to bundlejs

from bundlejs.

okikio avatar okikio commented on May 23, 2024

Since, this feature is already public, I'll close this

from bundlejs.

Related Issues (20)

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.