This is the final part of a 3 part series of articles/tutorials. The preceding two parts can be seen here: Part 1 – Basic Setup Part 2 – Creating Component-specific Stylesheets Part 3 – BrowserSync and Maximising Coverage Browsersync and Webpack dev Server Many of who have used task runners like Grunt or Gulp are …Continue reading
Webpack
Incorporting Webpack into a WordPress theme (part 2)
This is part 2 of of a series of articles on setting up a new or pre-existing WordPress theme to use Webpack. Part 1 can be found here. Part 2 – Creating Component-specific stylesheets Components refer to encapsulated code containing its own style and functionality. Many Javascript frameworks including React and Vue make use of …Continue reading
Incorporting Webpack into a WordPress theme (part 1)
Webpack has been around for a few years now and has clear benefits for bundling and serving front-end code. It is not a task manger like Grunt or Gulp but rather a “module bundler for modern JavaScript applications”. Although it might not sound appropriate for a WordPress theme at first glance it can be well …Continue reading