mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
[ci] yarn format
This commit is contained in:
parent
21b0c73a2a
commit
ec5587e626
1 changed files with 7 additions and 6 deletions
|
@ -3,12 +3,13 @@ import { defaultLogLevel } from './logger.js';
|
|||
|
||||
const onceMessages = ['Ready!', 'watching for file changes'].map((str) => new RegExp(`\\[snowpack\\](.*?)${str}`));
|
||||
|
||||
const neverWarn = new RegExp('('
|
||||
+ /(run "snowpack init" to create a project config file.)|/.source
|
||||
+ /(astro\/dist\/internal\/__astro_component.js: Unscannable package import found.)|/.source
|
||||
+ /(Cannot call a namespace \('loadLanguages'\))|/.source
|
||||
+ /('default' is imported from external module 'node-fetch' but never used)/.source
|
||||
+ ')'
|
||||
const neverWarn = new RegExp(
|
||||
'(' +
|
||||
/(run "snowpack init" to create a project config file.)|/.source +
|
||||
/(astro\/dist\/internal\/__astro_component.js: Unscannable package import found.)|/.source +
|
||||
/(Cannot call a namespace \('loadLanguages'\))|/.source +
|
||||
/('default' is imported from external module 'node-fetch' but never used)/.source +
|
||||
')'
|
||||
);
|
||||
|
||||
export function configureSnowpackLogger(logger: typeof snowpackLogger) {
|
||||
|
|
Loading…
Reference in a new issue