-> v0.2.4

This commit is contained in:
Rich Harris
2017-12-20 16:33:54 -05:00
parent 7466e8da82
commit cd91bf2ca4
3 changed files with 6 additions and 2 deletions

View File

@@ -1,5 +1,9 @@
# sapper changelog
## 0.2.4
* Posixify path to HMR client
## 0.2.3
* Posixify import paths, even on Windows ([#31](https://github.com/sveltejs/sapper/pull/31))

View File

@@ -33,7 +33,7 @@ module.exports = function create_app() {
.replace(/__dev__/g, String(dev));
if (dev) {
const hmr_client = require.resolve(`webpack-hot-middleware/client`);
const hmr_client = posixify(require.resolve(`webpack-hot-middleware/client`));
main += `\n\nimport('${hmr_client}?path=/__webpack_hmr&timeout=20000'); if (module.hot) module.hot.accept();`
}

View File

@@ -1,6 +1,6 @@
{
"name": "sapper",
"version": "0.2.3",
"version": "0.2.4",
"description": "Military-grade apps, engineered by Svelte",
"main": "lib/index.js",
"bin": {