Skip to content
This repository was archived by the owner on May 7, 2024. It is now read-only.

Commit ad827c5

Browse files
add base urls
1 parent 233485e commit ad827c5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

scripts/build-extension.mjs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,5 +140,8 @@ prepareExtensionForPackaging(extensionDir, () => {
140140
const execArgs = { stdio: [0, 1, 2], cwd: extensionDir }
141141
const RELEASE_CHANNEL = /** @type {'release'|'pre-release'} */ (process.env['RELEASE_CHANNEL'] ?? 'release')
142142
const args = RELEASE_CHANNEL === 'pre-release' ? '--pre-release' : ''
143-
execSync(`${bin} package --no-dependencies ${args} --out grammarly.vsix`, execArgs)
143+
execSync(
144+
`${bin} package --no-dependencies --baseImagesUrl "https://github.com/znck/grammarly/raw/HEAD/extension" --baseContentUrl "https://github.com/znck/grammarly/raw/HEAD/extension" ${args} --out grammarly.vsix`,
145+
execArgs,
146+
)
144147
})

0 commit comments

Comments
 (0)