v0.15.0
Highlights
webpack 1 -> webpack 2
In this release has happened huge update — now Aik uses webpack 2 and webpack-dev-server 2. It's not only will help aik to get latest updates for webpack, but also has added couple of new features, and one of the most important of which is:
Error Overlay
So you don't have to look back to console to see errors which block compilation.
Source Maps for CSS are back!!!
Couple of releases back I had to disable css source maps due to problems with image urls in inline source maps. Now they are back! Thanks to an issue fixed in style-loader webpack-contrib/style-loader#186
Pre-installing npm modules
Previously even if project had the package.json
file Aik would ignore it in favor of npm-install-webpack-plugin, that caused some issue when code expected previous major version of a dependency, but npm-install-webpack-plugin always installs the latest one. Now when Aik finds the package.json
file it runs npm install
in order to get proper version of modules declared in it.
Bye bye CSS Modules
It's the only breaking change in version 0.15.0 and was induced by constant confusion when some of prototypes are using css modules but some of them not. Which lead to necessity to remember when to add -c
flag and when not to. Also according to statistic I collect through Google Analytics almost nobody was using it, probably because of more popular ways of doing css (e.g. styled-components) now days.
By removing this flag I hope there will be less confusion working with css.
CHANGELOG
Bug Fixes
Features
- eslint: Update eslint rules (d93d0fb)
- Enable css source maps again (01cf7f4)
- Pre-installing npm modules if project contains package.json (7015901)
- Remove css modules option (a29dc0e)
- webpack 1 -> webpack 2 (7e24d6d)
BREAKING CHANGES
- -c option doesn't exist anymore