diff options
author | 2021-04-12 16:20:58 +0100 | |
---|---|---|
committer | 2021-04-12 16:20:58 +0100 | |
commit | 687ff5bacd8c776e514f53c4b59c3a67274d3971 (patch) | |
tree | 15e140d7d6c744c4b2096fea38d7f0e34fec8742 /src/compiler/transform/styles.ts | |
parent | cffde0192bf9965e94a217fa0a44a86fbfa33337 (diff) | |
download | astro-687ff5bacd8c776e514f53c4b59c3a67274d3971.tar.gz astro-687ff5bacd8c776e514f53c4b59c3a67274d3971.tar.zst astro-687ff5bacd8c776e514f53c4b59c3a67274d3971.zip |
chore fix lint reduce errors generated (#83)
* add dep domhandler imported in in src/build/static
* lint and jsDoc error
* move domhandler to devDep
* chore: add package lock
* escape string jsDoc
* chore: add astro dep in until prism import is refactored
* chore: add snowpack example package lock
Diffstat (limited to 'src/compiler/transform/styles.ts')
-rw-r--r-- | src/compiler/transform/styles.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/transform/styles.ts b/src/compiler/transform/styles.ts index d8e3196a1..0c7b4c3c1 100644 --- a/src/compiler/transform/styles.ts +++ b/src/compiler/transform/styles.ts @@ -124,6 +124,7 @@ async function transformStyle(code: string, { type, filename, scopedClass, mode const { default: tailwindcss } = await import('@tailwindcss/jit'); postcssPlugins.push(tailwindcss()); } catch (err) { + // eslint-disable-next-line no-console console.error(err); throw new Error(`tailwindcss not installed. Try running \`npm install tailwindcss\` and trying again.`); } |