Commit 1a38f2ea by Patrick Pfeiffer

add sourcemaps to build

parent 5dc807c1
...@@ -27,7 +27,8 @@ export default { ...@@ -27,7 +27,8 @@ export default {
name: 'faceapi', name: 'faceapi',
globals: { globals: {
'crypto': 'crypto' 'crypto': 'crypto'
} },
sourcemap: minify ? false : true
}, },
external: ['crypto'], external: ['crypto'],
onwarn: (warning) => { onwarn: (warning) => {
...@@ -40,4 +41,4 @@ export default { ...@@ -40,4 +41,4 @@ export default {
console.warn(warning.message) console.warn(warning.message)
} }
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment