Skip to content

Commit 2dd3032

Browse files
authored
fix(crashlytics): set webpack alias for stacktrace-js (#58)
1 parent 84fc593 commit 2dd3032

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
module.exports = webpack => {
2+
webpack.chainWebpack((config) => {
3+
// fix import path for stacktrace-js
4+
config.resolve.alias.set(
5+
"stacktrace-js",
6+
"stacktrace-js/dist/stacktrace.js"
7+
);
8+
});
9+
}

0 commit comments

Comments
 (0)