v0.11.0
Highlights
Better built-in template
- Added meta with device-width and initial-scale
- Added div#app where you can render app right away. Previously it was possible to render to body or to create element using document.createElement and append it to the body.
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><%= htmlWebpackPlugin.options.title %></title>
</head>
<body>
<div id="app"></div>
</body>
</html>
Flow
All Aik code itself is flow typed now. I hope It will help avoid silly mistakes and makes code more reliable.
Babel
From this point Aik uses Babel preset "latest" which includes all yearly presets. This means more seamless updates for babel supported features.
postcss-import -> postcss-partial-import
Postcss-import was replaced in favour of postcss-partial-import. The reason was that postcss-import includes more than 248 dependencies which leads to unreasonable long install time. According to slow-deps package, installing only postcss-import (on my internet and laptop) might take more than 1.5 minute.
Custom template path in messages
Both dev server and build messages show custom template path if exists:
Bug Fixes
- build: Correct flags and path for dist (5a0c129)