0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00

updated comment 'threw' to 'through' (#1235)

This commit is contained in:
Mark Howard 2021-08-26 15:24:31 +12:00 committed by GitHub
parent 033c480e8e
commit ba4eefdd09
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,7 +21,7 @@ const isAstroRenderer = (name: string) => {
const denyList = ['prismjs/components/index.js', '@astrojs/markdown-support', 'node:fs/promises', ...nodeBuiltinsMap.values()]; const denyList = ['prismjs/components/index.js', '@astrojs/markdown-support', 'node:fs/promises', ...nodeBuiltinsMap.values()];
export default Object.keys(pkg.dependencies) export default Object.keys(pkg.dependencies)
// Filter out packages that should be loaded threw Snowpack // Filter out packages that should be loaded through Snowpack
.filter((name) => { .filter((name) => {
// Explicitly allowed packages should NOT be external // Explicitly allowed packages should NOT be external
if (allowList.has(name)) return false; if (allowList.has(name)) return false;