GithubHelp home page GithubHelp logo

Comments (5)

desandro avatar desandro commented on May 23, 2024

Hello again! I appreciate this suggestion. I imagine it's frustrating to see the couple issues pop up around module loading, plus all the cruft dealing with module definitions in the code itself. But I prefer to keep on with my style. Thanks, but no thanks!

To elaborate, I prefer using lighter build tools that output near-identical build code rather than relying on heavy-weight bundlers like Webpack or Rollup. It's a trade-off. I'd rather deal with my own broken code than managing build-tool output. I realize it may seem misguided, but after a decade of supporting JS plugins, that's my current preference ¯_(ツ)_/¯

from zdog.

sammdec avatar sammdec commented on May 23, 2024

Yeah that makes and is understandable, thanks for the thoughtful response.

from zdog.

sammdec avatar sammdec commented on May 23, 2024

Oh one last other thing @desandro, I didn't go through the code but for some reason the rollup version I made was coming in at 24KB when minified. Maybe there are some tweaks you can make to your build setup that could do the same, if your interested the output is here https://github.com/samjbmason/zdog/blob/build-task/dist/zdog.umd.js

from zdog.

desandro avatar desandro commented on May 23, 2024

Dang that's pretty good. Looks like it cleans up the UMD boilerplate stuff. Thanks for putting this together. This has got me re-thinking things.

from zdog.

sammdec avatar sammdec commented on May 23, 2024

Let me know if you wanna discuss things further or tweak parts I would love to contribute to the library however I can.

from zdog.

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.