Skip to content

v10.0.0-beta.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@illepic illepic released this 05 Mar 15:46
96c73c7

Massive rewrite of our handling of Webpack files and big updates to dependencies. Documentation in the README.md file needs to catch up to this release still.

  • Webpack 4!
  • Babel 7 Beta!
  • Updated library for font icon generation
  • Example icons are now on a consistent 500x500 canvas
  • Webpack config at root is split up into webpack.particle.dev.js and webpack.particle.prod.js
  • Each app's webpack config it now split into (eg Pattern Lab): webpack.pl.shared.js, webpack.pl.dev.js, webpack.pl.prod.js`. This gives us a lot of flexibility for asset output.
  • The custom webpack dev server js app that was once launched by gulp has been nuked, since we can now rely on default webpack-dev-server and our new gulp task called compile:pl:notify
  • webpack-dev-server now opens the browser automatically to the /pl route to avoid confusion.
  • npm-run-all let's us orchestrate package.json scripts and rely on gulp less
  • The Pattern Lab app now uses purely JS hot-reloaded styles for rapid prototyping. ExtractTextPlugin has been moved to prod configs.
  • package.json scripts use consistent naming structure finally.
  • Favicon generation has been temporarily removed

Upcoming:

  • dev:drupal script for watching and recompiling assets (and clearing caches)
  • build:pl script for generating PL assets that can be served via a static host (not just active dev server)
  • README.md needs some love