We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d2b4084 commit cd3d28bCopy full SHA for cd3d28b
1 file changed
packages/bubble-dev/start-preset/src/pkg.ts
@@ -137,7 +137,7 @@ export const Pkg = (replacers?: TReplacers) => (packagePath: string, shouldAddMi
137
}
138
139
140
- const allReplacers = {
+ const allReplacers: { [k: string]: string } = {
141
...userReplacers,
142
...(name !== null && { $name$: name }),
143
@@ -192,7 +192,6 @@ export const Pkg = (replacers?: TReplacers) => (packagePath: string, shouldAddMi
192
for (const [key, value] of Object.entries(allReplacers)) {
193
stream = stream
194
.pipe(lineStream())
195
- // @ts-ignore
196
.pipe(replaceStream(key, value))
197
.on('error', reject)
198
0 commit comments