GithubHelp home page GithubHelp logo

Comments (4)

Hypercubed avatar Hypercubed commented on June 2, 2024

Sure, I can do that. But can I ask... most npm packages do not include the build files (i.e. browserified files), how are you managing other packages? Would it be better in the long run for you to include browserify (or equivalent) in your build tools? It is helpful for me to understand how people are using this package. Thank you.

from angular-marked.

qraynaud avatar qraynaud commented on June 2, 2024

Well, all other packages (including angular files) I'm using (except lodash) do provide "packaged versions" in a "dist" (or likewise) folder.

I mean there is sometimes a min file (like for angular.js wich provides both) but you can at least find a file with all the src files concatenated in them and protected by an UMD or something like that. If they are not minified I do the minification myself for the production env.

The thing that is always possible is to include the files « as is » for the dev env without having an error raised in the console (here caused by module.exports = "…").

For the record, right now I need bower for only two packages: lodash and angular-marked. I would love to get rid of bower though…

from angular-marked.

Hypercubed avatar Hypercubed commented on June 2, 2024

Thank you for the feedback. It is difficult to know exactly all ways a package will be used.

Version 1.0.1 now includes the browserify version. Please let me know if you have issues.

from angular-marked.

qraynaud avatar qraynaud commented on June 2, 2024

Thanks a lot to you for your reactivity! I'll close this and reopen it if I find something "wrong".

Thanks again!

from angular-marked.

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.