-
Notifications
You must be signed in to change notification settings - Fork 3.5k
restructure project to keep components and their styles/markup together #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
If you want to set different caching strategies per filetype, you can use webpack to move different asset types into different directories automatically. |
Hi @graingert, You make some good points. We'll keep the structure as it is for now but will revisit this when our library management plans come to fruition (#2). |
mattnotmitt
pushed a commit
to mattnotmitt/CyberChef
that referenced
this issue
Feb 17, 2018
Update to master & add verify/sign
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
eg:
css/lib/bootstrap3.min.css
html/index.html
js/config/Categories.js
Your source code directories should be chosen by feature, not filetype. This keeps style, markup and code together when navigating your codebase.
There's no need to add extra redundant file type information to your paths, we already know it's a js file because the path ends with
js
. You can use**/*.js
to select them in scripts.The text was updated successfully, but these errors were encountered: