Skip to content
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

Better system for combining CSS and JS files #134

Open
Sothatsit opened this issue Mar 3, 2021 · 2 comments
Open

Better system for combining CSS and JS files #134

Sothatsit opened this issue Mar 3, 2021 · 2 comments
Labels
feature A new feature to be added

Comments

@Sothatsit
Copy link
Collaborator

Currently we define how to create every target CSS and JS file through long, repetitive lists in compilation.json. It would be better to have a system like imports so we could do that within the source files instead of having to do it all in compilation.json.

@Sothatsit Sothatsit added the feature A new feature to be added label Mar 3, 2021
@Potherca
Copy link

Potherca commented Jan 2, 2022

Would this be resolved by #167 ?

@Sothatsit
Copy link
Collaborator Author

Would this be resolved by #167 ?

I think #167 would definitely be a step towards this, as it seems like it would be a good way to organise it. Although, I'm going to focus on the JavaScript for #167 first, as it's the bigger problem for now. I've made some good progress towards it, although there is still a way to go.

I made the decision to switch to TypeScript, which is taking a lot longer than I expected, unfortunately... However, I think I am making steady progress toward improving the codebase.

My current big goals are:

  • Switch codebase to TypeScript
  • Reduce the current reliance on many global variables
  • Webpack to build all assets (JS/CSS/HTML)
  • Tests!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new feature to be added
Projects
None yet
Development

No branches or pull requests

2 participants