mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-16 04:44:35 +00:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5be3809d9e | ||
|
|
15cc4bf296 |
@@ -1,5 +1,9 @@
|
|||||||
# sapper changelog
|
# sapper changelog
|
||||||
|
|
||||||
|
## 0.18.6
|
||||||
|
|
||||||
|
* Bundle missing dependency
|
||||||
|
|
||||||
## 0.18.5
|
## 0.18.5
|
||||||
|
|
||||||
* Bugfix
|
* Bugfix
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "sapper",
|
"name": "sapper",
|
||||||
"version": "0.18.5",
|
"version": "0.18.6",
|
||||||
"description": "Military-grade apps, engineered by Svelte",
|
"description": "Military-grade apps, engineered by Svelte",
|
||||||
"main": "dist/middleware.js",
|
"main": "dist/middleware.js",
|
||||||
"bin": {
|
"bin": {
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ import * as path from 'path';
|
|||||||
import colors from 'kleur';
|
import colors from 'kleur';
|
||||||
import pb from 'pretty-bytes';
|
import pb from 'pretty-bytes';
|
||||||
import relative from 'require-relative';
|
import relative from 'require-relative';
|
||||||
|
import format_messages from 'webpack-format-messages';
|
||||||
import { left_pad } from '../utils';
|
import { left_pad } from '../utils';
|
||||||
|
|
||||||
let r: any;
|
let r: any;
|
||||||
@@ -101,8 +102,6 @@ class WebpackResult extends CompileResult {
|
|||||||
|
|
||||||
const info = stats.toJson();
|
const info = stats.toJson();
|
||||||
|
|
||||||
// TODO use import()
|
|
||||||
const format_messages = require('webpack-format-messages');
|
|
||||||
const messages = format_messages(stats);
|
const messages = format_messages(stats);
|
||||||
|
|
||||||
this.errors = messages.errors.map(munge_webpack_warning_or_error);
|
this.errors = messages.errors.map(munge_webpack_warning_or_error);
|
||||||
|
|||||||
Reference in New Issue
Block a user