Skip to content

Commit 8b82847

Browse files
committed
Preserve quote type
1 parent d1e8ad3 commit 8b82847

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/firebase/gulpfile.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ gulp.task('cdn-type-module-path', function () {
3333
.pipe(sourcemaps.init({ loadMaps: true }))
3434
// gulp-replace doesn't work with gulp-sourcemaps, so no change is made to the existing sourcemap.
3535
// Therefore the sourcemap become slightly inaccurate
36-
.pipe(replace(/['"]@firebase\/app['"]/g, `'${FIREBASE_APP_URL}'`))
36+
.pipe(replace(/(['"])@firebase\/app(['"])/g, `$1${FIREBASE_APP_URL}$2`))
3737
.pipe(sourcemaps.write('.'))
3838
.pipe(gulp.dest('.'))
3939
);

0 commit comments

Comments
 (0)