GithubHelp home page GithubHelp logo

Comments (4)

dvlden avatar dvlden commented on May 29, 2024

If I understood properly, you've used your own gulp tasks to copy Vidage.min.js file, but the file no longer exists?

If so, that's correct. I've decided that there's no need for non-minified JS version as it's unreadable after source version goes through compile. So now you should probably just copy Vidage.js as that's the only version and it's minfied.

I also throw out .min suffix as it's unnecessery when there are only minified files (CSS and JS) included in destination.

Just out of curiosity, why are you copying dependencies with gulp task out of npm folder?

from vidage.

iamaleky avatar iamaleky commented on May 29, 2024

@dvlden thanks for info.

We have such project structure:
-project/
--dist/
---assets/
---index.html
--node_modules/
--sources/
--gulpfile.js

On production server it's served from /dist/ folder. So we need to copy deps from node_modules to /dist/assets

from vidage.

dvlden avatar dvlden commented on May 29, 2024

So I assume you store each filename that you need found and copied within node_modules?
It's strange to me tho, why you're not running an compiler and including the dependencies from node_modules as suppoused. In the end they get compiled in single file that you should throw in dist, right? At least that makes sense to me.

from vidage.

iamaleky avatar iamaleky commented on May 29, 2024

@dvlden in cause of dynamic loading for libraries. Single complied file will be too large ;)

from vidage.

Related Issues (12)

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.