@fluentui/bundle-size
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -5,3 +5,18 @@ { | ||
{ | ||
"date": "Mon, 27 Sep 2021 07:33:33 GMT", | ||
"date": "Wed, 17 Nov 2021 07:35:12 GMT", | ||
"tag": "@fluentui/bundle-size_v1.1.2", | ||
"version": "1.1.2", | ||
"comments": { | ||
"patch": [ | ||
{ | ||
"author": "bsunderhus@microsoft.com", | ||
"package": "@fluentui/bundle-size", | ||
"commit": "a75c8c07c5296206b998f9500baced6952e3f81b", | ||
"comment": "Adds verification to compilation error" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"date": "Mon, 27 Sep 2021 07:34:24 GMT", | ||
"tag": "@fluentui/bundle-size_v1.1.1", | ||
@@ -8,0 +23,0 @@ "version": "1.1.1", |
# Change Log - @fluentui/bundle-size | ||
This log was last generated on Mon, 27 Sep 2021 07:33:33 GMT and should not be manually modified. | ||
This log was last generated on Wed, 17 Nov 2021 07:35:12 GMT and should not be manually modified. | ||
<!-- Start content --> | ||
## [1.1.2](https://github.com/microsoft/fluentui/tree/@fluentui/bundle-size_v1.1.2) | ||
Wed, 17 Nov 2021 07:35:12 GMT | ||
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/bundle-size_v1.1.1..@fluentui/bundle-size_v1.1.2) | ||
### Patches | ||
- Adds verification to compilation error ([PR #20613](https://github.com/microsoft/fluentui/pull/20613) by bsunderhus@microsoft.com) | ||
## [1.1.1](https://github.com/microsoft/fluentui/tree/@fluentui/bundle-size_v1.1.1) | ||
Mon, 27 Sep 2021 07:33:33 GMT | ||
Mon, 27 Sep 2021 07:34:24 GMT | ||
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/bundle-size_v1.1.0..@fluentui/bundle-size_v1.1.1) | ||
@@ -11,0 +20,0 @@ |
{ | ||
"name": "@fluentui/bundle-size", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"bin": { | ||
@@ -5,0 +5,0 @@ "bundle-size": "./bin/bundle-size.js" |
@@ -60,6 +60,9 @@ const chalk = require('chalk'); | ||
compiler.run(err => { | ||
compiler.run((err, result) => { | ||
if (err) { | ||
reject(err); | ||
} | ||
if (result && result.hasErrors()) { | ||
reject(result.compilation.errors.join('\n')); | ||
} | ||
@@ -66,0 +69,0 @@ resolve(null); |
@@ -46,2 +46,7 @@ const fs = require('fs').promises; | ||
}); | ||
it('should throw on compilation errors', async () => { | ||
const fixturePath = await setup(`import something from 'unknown-pkg'`); | ||
expect(buildFixture(fixturePath, true)).rejects.toThrow(); | ||
}); | ||
}); |
62426
1563