-
-
Notifications
You must be signed in to change notification settings - Fork 200
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
40 additions
and
174 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,23 @@ | ||
import { ExtensionRunnerConfig } from '../types'; | ||
import consola from 'consola'; | ||
import { WebExtRunnerConfig } from '../types'; | ||
|
||
/** | ||
* @deprecated Use `defineWebExtConfig` instead. Same function, different name. | ||
*/ | ||
export function defineRunnerConfig( | ||
config: ExtensionRunnerConfig, | ||
): ExtensionRunnerConfig { | ||
config: WebExtRunnerConfig, | ||
): WebExtRunnerConfig { | ||
consola.warn( | ||
'defineRunnerConfig is deprecated, replace it with defineWebExtConfig', | ||
); | ||
return config; | ||
} | ||
|
||
/** | ||
* Configure how [`web-ext`](https://github.com/mozilla/web-ext) starts the browser during development. | ||
*/ | ||
export function defineWebExtConfig( | ||
config: WebExtRunnerConfig, | ||
): WebExtRunnerConfig { | ||
return config; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters