Skip to content

Commit 025e418

Browse files
committed
Correct error with regex
1 parent f5472bf commit 025e418

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/firebase/gulpfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ gulp.task('cdn-type-module-path-internal', function () {
4545
gulp
4646
.src(files)
4747
.pipe(sourcemaps.init({ loadMaps: true }))
48-
.pipe(replace(/@firebase\/app/g, "./firebase-app.js"))
48+
.pipe(replace(/(['"])@firebase\/app(['"])/g, "'./firebase-app.js'"))
4949
.pipe(sourcemaps.write('.'))
5050
.pipe(gulp.dest('.'))
5151
);

0 commit comments

Comments
 (0)