Comments (8)
I know I said I'd send you a pull request this afternoon. Technically, it is still after noon.
from jus.
but maybe a convention like "vendor" or something makes sense,
I really like this idea.
from jus.
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.
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.
@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.
@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.
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.
@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)
- Consider using `consolidate.js` library for abstracting different template options
- Feature: Add YAML support for 'page' type files (not just for 'datafile' type) HOT 1
- Inkscape-generated SVG error from `image-size` library HOT 1
- Don't try to parse `svg` fonts as images HOT 4
- Moved jus repos to a GitHub organization! HOT 1
- Replaceable Markdown processor HOT 2
- path-exists should be a dependency, not a dev-dependency?
- Modularizing jus HOT 19
- Serve a unique favicon.ico per project HOT 12
- Automagically generate thumbnails HOT 6
- Remove old 404 ¯\_(ツ)_/¯ message
- Remove unneeded 'href-type' dependency
- Overwriting /api HOT 9
- Can we import CSS files from node_modules? HOT 1
- Allow Sass Imports HOT 1
- jus development stalled by Node 4 support HOT 3
- Support for more handlebars helpers HOT 2
- Dynamic pages, filtering data, custom helpers, and other templating languages? HOT 8
- README is not up to date
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jus.