Skip to content

Commit 15fe432

Browse files
committed
Fix rollup sourceMap file references (waiting on rollup/rollup#344).
1 parent a9ad805 commit 15fe432

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

rollup.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
import babel from 'rollup-plugin-babel';
2+
import path from 'path';
3+
import fs from 'fs';
24

35
export default {
6+
sourceMapFile: path.resolve(JSON.parse(fs.readFileSync('./package.json')).main),
47
plugins: [
58
babel({
69
sourceMap: true

0 commit comments

Comments
 (0)