Giter Club home page Giter Club logo

Comments (8)

billiegoose avatar billiegoose commented on May 26, 2024 1

I know I said I'd send you a pull request this afternoon. Technically, it is still after noon.

from jus.

zeke avatar zeke commented on May 26, 2024 1

but maybe a convention like "vendor" or something makes sense,

I really like this idea.

from jus.

billiegoose avatar billiegoose commented on May 26, 2024

I was JUST about to ask a similar thing! For my latest project I have a very large JavaScript file (made with emscripten) that crashes browserify. Is there a static assets folder I can put this .js file in where jus won't try to browserify it? (And if not, could you add one pretty please?)

from jus.

zeke avatar zeke commented on May 26, 2024

Glad to hear you two are finding jus useful. Unfortunately I don't currently have much time to work on it right now. I would happily accept a PR that adds support for this.

What about using the rails/harp convention of ignoring files and directories that begin with an underscore? _

from jus.

billiegoose avatar billiegoose commented on May 26, 2024

@zeke I totally get not having enough time. I was thinking of just a "static" dir... In my specific case I could just make a "_static" sir... but maybe a convention like "vendor" or something makes sense, or even a ".jusignore" file. I'll try to add the feature and open a pull request this afternoon, because that sounds easier than switching to another dev/build system.

from jus.

billiegoose avatar billiegoose commented on May 26, 2024

@og2t @zeke What do you guys think about automatically excluding files ending in ".min.js"?

@zeke I'm leaning away from a .jusignore approach because that would require monitoring the .jusignore file for changes, and possibly complex cache invalidation. I think a much simpler approach will be one where its "excluded status" is tied to its filename. That way, we only have to check if the file is excluded when its added, because chokidar will report file renames as an 'unlink' followed by an 'add'.

from jus.

og2t avatar og2t commented on May 26, 2024

I don't like underscores as they look ugly. Config files should also be avoided b/c of the zero configuration principle. .min.js filter sounds great to me!

from jus.

billiegoose avatar billiegoose commented on May 26, 2024

@zeke let's move the discussion to #46. I went with excluding .min.js files, because that seemed the easiest and the most natural convention.

from jus.

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.