Skip to content

Commit b9c123e

Browse files
Merge pull request justadudewhohacks#27 from guybrush/sourcemaps-built
Sourcemaps
2 parents 5dc807c + 1a38f2e commit b9c123e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

rollup.config.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ export default {
2727
name: 'faceapi',
2828
globals: {
2929
'crypto': 'crypto'
30-
}
30+
},
31+
sourcemap: minify ? false : true
3132
},
3233
external: ['crypto'],
3334
onwarn: (warning) => {
@@ -40,4 +41,4 @@ export default {
4041

4142
console.warn(warning.message)
4243
}
43-
}
44+
}

0 commit comments

Comments
 (0)