Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Updated Starter Pack #9

Merged
merged 2 commits into from
Sep 4, 2018
Merged

Updated Starter Pack #9

merged 2 commits into from
Sep 4, 2018

Conversation

knoopx
Copy link
Contributor

@knoopx knoopx commented Mar 15, 2018

  • Update to Webpack 4
  • Use webpack-dev-server as it automatically reloads html/css changes
  • Use html-webpack-plugin
  • Strip webpack config to the bare minimum

* Update to Webpack 4
* Use webpack-dev-server as it automatically reloads html/css changes
* Use html-webpack-plugin
* Strip webpack config to the bare minimum
@argyleink argyleink mentioned this pull request Mar 17, 2018
@adamwathan
Copy link
Member

Thanks for this @knoopx! 🙌 Question for you; I didn't realize Webpack supported CSS entry files (like mentioned in #10), what do you think makes more sense for this project, HTML or CSS entry? Main goal is just a quick way to get the CSS compiling with Webpack so people who want to mess around with the framework can take advantage of the built-in watch functionality in Webpack.

@knoopx
Copy link
Contributor Author

knoopx commented Mar 19, 2018

  • Webpack 4 does not yet support HTML entry points, so CSS entry point + html-webpack-plugin is the only option right now.
  • webpack --watch is not the "cool" way to develop for the web, webpack-dev-server is the way to go as it hot-reloads changes to html/css/javascript without a full-page refresh (so the state is not lost).

@adamwathan adamwathan merged commit b02d1da into tailwindlabs:master Sep 4, 2018
@adamwathan
Copy link
Member

Thanks for this, sorry it took so long to merge!

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

Successfully merging this pull request may close these issues.

2 participants