Skip to content

Commit e5c21b3

Browse files
committed
Generate separate sourcemap instead of inlining it
Inlining the sourcemap in the build file increases the filesize quite a lot. This changes it back to a separate file as it was in 1.x.
1 parent 4c4f2e0 commit e5c21b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webpack.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const plugins = isProd ? [
1515

1616
module.exports = {
1717
entry: ['./src/remotestorage.ts'],
18-
devtool: 'inline-source-map',
18+
devtool: 'source-map',
1919
// the only external dependecy is xmlhttprequest because it is
2020
// different in browser and in node env so user has to manage with that
2121
externals: ['xmlhttprequest'],

0 commit comments

Comments
 (0)