mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-13 19:45:26 +00:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5be3809d9e | ||
|
|
15cc4bf296 | ||
|
|
afcd643035 | ||
|
|
7cc2a03aae |
@@ -1,5 +1,13 @@
|
||||
# sapper changelog
|
||||
|
||||
## 0.18.6
|
||||
|
||||
* Bundle missing dependency
|
||||
|
||||
## 0.18.5
|
||||
|
||||
* Bugfix
|
||||
|
||||
## 0.18.4
|
||||
|
||||
* Handle non-Sapper responses when exporting ([#382](https://github.com/sveltejs/sapper/issues/392))
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "sapper",
|
||||
"version": "0.18.4",
|
||||
"version": "0.18.6",
|
||||
"description": "Military-grade apps, engineered by Svelte",
|
||||
"main": "dist/middleware.js",
|
||||
"bin": {
|
||||
|
||||
@@ -288,7 +288,7 @@ class Watcher extends EventEmitter {
|
||||
assets: result.assets
|
||||
}, null, ' '));
|
||||
|
||||
const client_files = result.assets.map((file: string) => `client/${file}`);
|
||||
const client_files = result.chunks.map((file: string) => `client/${file}`);
|
||||
|
||||
create_serviceworker_manifest({
|
||||
routes: create_routes(),
|
||||
|
||||
@@ -3,6 +3,7 @@ import * as path from 'path';
|
||||
import colors from 'kleur';
|
||||
import pb from 'pretty-bytes';
|
||||
import relative from 'require-relative';
|
||||
import format_messages from 'webpack-format-messages';
|
||||
import { left_pad } from '../utils';
|
||||
|
||||
let r: any;
|
||||
@@ -101,8 +102,6 @@ class WebpackResult extends CompileResult {
|
||||
|
||||
const info = stats.toJson();
|
||||
|
||||
// TODO use import()
|
||||
const format_messages = require('webpack-format-messages');
|
||||
const messages = format_messages(stats);
|
||||
|
||||
this.errors = messages.errors.map(munge_webpack_warning_or_error);
|
||||
|
||||
Reference in New Issue
Block a user