Upgrade to Pro — share decks privately, control downloads, hide ads and more …

webpack for WordPress

webpack for WordPress

WordCamp Oslo 2018

Nate Conley

March 03, 2018
Tweet

More Decks by Nate Conley

Other Decks in Programming

Transcript

  1. Developer at Pixel Jar, a WordPress-driven agency based in Southern

    California Some of the work we do: - Custom websites, with custom themes and plugins - Highly Customized Beaver Builder Sites - Premium Plugins We have started using webpack for every type of project! I’m Nate
  2. About this talk High-level Assuming you have worked with Node/NPM

    Talk about some webpack basics Talk about WordPress specifics
  3. What is webpack? webpack is an asset bundler At its

    core, webpack is a tool for using JavaScript modules. webpack has an extensive ecosystem of loaders and plugins, making it do almost everything you might need it to do.
  4. Why use webpack? webpack is a tool for building better

    websites, therefore building a better web. We want users to have great experiences We want to improve the web
  5. Why webpack? webpack lets you do two things really well:

    - optimized builds - great development experience webpack makes working with modern frameworks and libraries easier. Gutenberg development is made easier!
  6. #0CJS - Zero Configuration JS v4 of webpack is AMAZING!

    A config file isn’t required. Your config files can be much simpler. Provides many optimizations out-of-the-box!