Git Product home page Git Product logo

Comments (6)

cgarvis avatar cgarvis commented on June 3, 2024

This was requested in #21. The solution is to use ngmin or use the prebuilt minified version. If this is requested again, I may change my stance.

from angular-toggle-switch.

ms88privat avatar ms88privat commented on June 3, 2024

Hi, please add it in the future.
In my case, i only minify my own included scripts with ngmin for performance reason. But i want to include the non-min-js version for debugging of third party scripts while developing.

from angular-toggle-switch.

cgarvis avatar cgarvis commented on June 3, 2024

I provide a minified version. You can use that when you don't need to debug.

from angular-toggle-switch.

adamdicarlo avatar adamdicarlo commented on June 3, 2024

I'd rather my own build do the minification (and have the option to generate a source map, which is not included in angular-toggle-switch). Mostly because then I don't have to switch out which version of the library I use for debug builds and release builds. (My build system doesn't have ngmin and it'd be a pain to add, unfortunately.)

I figured since ngmin is set up in your build you wouldn't want to add the annotation, though, so I just added it myself in my own fork but excluded that from the PR I submitted. ;)

from angular-toggle-switch.

cgarvis avatar cgarvis commented on June 3, 2024

Having a "debug" stable version would be helpful. I agree that that should have the annotation on it. I'll work on moving towards this.

from angular-toggle-switch.

FreeFrags avatar FreeFrags commented on June 3, 2024

Any progress on this?

from angular-toggle-switch.

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.