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

Upgrade gulp and webpack #168

Open
3 tasks
sondr3 opened this issue Feb 16, 2018 · 0 comments
Open
3 tasks

Upgrade gulp and webpack #168

sondr3 opened this issue Feb 16, 2018 · 0 comments

Comments

@sondr3
Copy link
Owner

sondr3 commented Feb 16, 2018

  • Look to Googles Web Starter Kit and other for how things look today
  • Upgrade straight away to Webpack 4
  • Figure out where to use what and when

Food for thought

We could probably get away with just using Webpack for bundling CSS, images and JS etc and then having a few NPM scripts that run that'll keep everything synced up nicely. For example:

"scripts": {
    "predev": "jekyll build --watch --incremental",
    "dev": "webpack --watch --i-dont-know-webpack"
}

Would first start Jekyll, and have it watch the src/ directory in the background and then start up Webpack with it's dev server and such. Similarly, we'd have a command for when you want to optimize everything, probably called prod or something like that. We'll have to look into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant