GithubHelp home page GithubHelp logo

Bundled js gone from npm about perfcascade HOT 4 CLOSED

micmro avatar micmro commented on June 8, 2024
Bundled js gone from npm

from perfcascade.

Comments (4)

micmro avatar micmro commented on June 8, 2024

Sorry for that. I had removed it on purpose, assuming there was no value in
adding it.
Sure, I can add it back (possibly not before saturday though).

Just out of curiosity how are you using the build file?

Michael

On Thu, 3 Nov 2016, 7:42 a.m. Hadrien Milano, [email protected]
wrote:

Hi there,

It seems like the built js has disappeared from the npm package between
versions 0.2.1 and 0.2.3. Any chance of getting it back?

Thanks


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#57, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABmkBlfc7F6nwfCXXeOiCaopYhiSrCLuks5q6RHzgaJpZM4Kn1VP
.

from perfcascade.

hmil avatar hmil commented on June 8, 2024

Oh yeah I see.

So I'm using npm as my front-end package manager as well as the package manager for build tools and stuff. This way I don't have to deal with an over the top setup involving multiple package managers (talking about you bower).
I'm then specifying all the css and js I need in a JSON file. A gulp task then pulls those files from node_modules into my dist folder and writes the proper <link /> and <script /> tags to my index.html.
I really like the simplicity of this setup and I can only assume other people are doing the same thing.

Anyway, back to the topic. Since this is a front-end library it just seems natural that it should ship as a bundle. Whether or not to include the original source files is up to you though I would argue it is redundant once you are shipping the bundle. Plus you are shipping the typings as well so that and the bundle should cover most use-cases.

from perfcascade.

micmro avatar micmro commented on June 8, 2024

Sorry, actually I misread your request and thought you meant the bundling script (Gruntfile.js) :).
This makes perfect sense - I've added it back now (via the ./dist directory).

from perfcascade.

micmro avatar micmro commented on June 8, 2024

Let me know if this works for you now, or if you have any other suggestions.

This is my first front-end npm package (actually backend as well, but that's easier to reason about) so all feedback is welcome.

from perfcascade.

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.