Highlights
Webpack 4
The full changelog of what change in webpack since version 3 is here -> https://github.com/webpack/webpack/releases/tag/v4.0.0
No npm-install-webpack-plugin
Since npm-install-webpack-plugin is not working with webpack 4, it's been replaced with simpler implementation inside Aik itself.
BREAKING: No relative imports...
Previously it was possible to import/require files relative to entry point e.g.:
// Import relative to the index.js
import comp2 from "components/comp2/comp2";
This feature has been removed as It's considered to be an anti-pattern and also it adds some extra complexity around auto installing npm modules.
Bug Fixes
- npm install logic to support namespaced modules (1ffe919)
- Properly define aliases for meow@4 (bb74da1)
- Properly identify wether port has changed or not (0cb8b6b)
- Suppress webpack 4 deprecation warnings (43ea2c0)
Features
- Auto install npm modules without npm-install-webpack-plugin (50865a4)
- Clean up Module not found messages (32b2b8e), closes #306
- Drop node < 6 support (79c6380)
- Ignore *.min.js files from eslint and babel loaders (d316f06), closes #317
- Removed annoying eslint rules (aacf679), closes #316
- webpack 4 🎉💣🚀 (a6d5894)
- BREAKING: Remove aliases (74c0ce5)