[READ-ONLY] Mirror of https://github.com/danielroe/roe.dev. This is the code and content for my personal website, built in Nuxt. roe.dev
0

Configure Feed

Select the types of activity you want to include in your feed.

test: exclude 3rd parties from bundle size

+1 -4
+1 -4
test/unit/bundle.spec.ts
··· 33 33 }) 34 34 35 35 it('default client bundle size', async () => { 36 - stats.client = await analyzeSizes('**/*.js', publicDir) 37 - expect 38 - .soft(roundToKilobytes(stats.client.totalBytes)) 39 - .toMatchInlineSnapshot(`"281k"`) 36 + stats.client = await analyzeSizes(['**/*.js', '!_scripts/**'], publicDir) 40 37 expect.soft(stats.client.files.map(f => f.replace(/\..*\.js/, '.js').replace(/_scripts\/.*\.js/, '_scripts/script.js')).sort()) 41 38 .toMatchInlineSnapshot(` 42 39 [