Skip to content

Commit

Permalink
add an unknown-origin asset to add mappings that have no defined sour…
Browse files Browse the repository at this point in the history
…ce (#4674)

* add an unknown-origin asset to add mappings that have no defined source

* tweak

* Update generateBuildMetrics.js

* Update packages/reporters/cli/src/bundleReport.js

Co-authored-by: Niklas Mischkulnig <[email protected]>

* update source-maps

* fix tests as we had some breaking changes in source-map library

Co-authored-by: Niklas Mischkulnig <[email protected]>
  • Loading branch information
DeMoorJasper and mischnic authored Jun 1, 2020
1 parent 417a8c6 commit 149c00b
Show file tree
Hide file tree
Showing 18 changed files with 127 additions and 112 deletions.
2 changes: 1 addition & 1 deletion packages/core/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@parcel/logger": "^2.0.0-alpha.3.1",
"@parcel/package-manager": "^2.0.0-alpha.3.1",
"@parcel/plugin": "^2.0.0-alpha.3.1",
"@parcel/source-map": "2.0.0-alpha.4.9",
"@parcel/source-map": "2.0.0-alpha.4.11",
"@parcel/types": "^2.0.0-alpha.3.1",
"@parcel/utils": "^2.0.0-alpha.3.1",
"@parcel/workers": "^2.0.0-alpha.3.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/core/integration-tests/test/css.js
Original file line number Diff line number Diff line change
Expand Up @@ -298,8 +298,8 @@ describe('css', () => {
assert.equal(map.file, 'index.css.map');
assert.equal(map.mappings, 'AAAA,OACA,WACA,CCFA,OACA,SACA');
assert.deepEqual(map.sources, [
'integration/cssnano/local.css',
'integration/cssnano/index.css',
'./integration/cssnano/local.css',
'./integration/cssnano/index.css',
]);
});

Expand Down
Loading

0 comments on commit 149c00b

Please sign in to comment.