Skip to content

Commit b3d8b13

Browse files
committed
fix
1 parent 2d311d3 commit b3d8b13

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

rollup.mjs

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ export default {
88
],
99
plugins: [
1010
babel({
11+
babelHelpers: 'bundled',
1112
presets: [
1213
['@babel/env', { modules: false, targets: { node: 12 } }],
1314
],

test/_sourcemaps.mjs

+4-2
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,14 @@ test('produces correct sourcemaps', async () => {
2525
assert.equal(result.css, expect);
2626
assert.equal(result.warnings().length, 0);
2727

28+
const actual = result.map.toJSON();
29+
actual.sources.splice(0, 1);
30+
2831
assert.deepStrictEqual(
29-
result.map.toJSON(),
32+
actual,
3033
{
3134
version: 3,
3235
sources: [
33-
'file:///Users/romainmenke/projects/postcss-sass/basic.scss%23sass',
3436
'basic.scss',
3537
],
3638
names: [],

0 commit comments

Comments
 (0)