Skip to content

Commit 3a5c2e9

Browse files
committed
fix: correctly generate excludedPath + add test setup
1 parent cd03728 commit 3a5c2e9

File tree

5 files changed

+38261
-4710
lines changed

5 files changed

+38261
-4710
lines changed

demo.test.mjs

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
import assert from 'node:assert'
2+
import { test } from 'node:test'
3+
4+
test('edge function config', async () => {
5+
const { config } = await import('./demo/.netlify/edge-functions/angular-ssr/angular-ssr.mjs')
6+
7+
assert.deepEqual(config.excludedPath, [
8+
'/dashboard/index.html',
9+
'/favicon.ico',
10+
'/heroes/index.html',
11+
'/index.html',
12+
'/main-UUT7SL5W.js',
13+
'/polyfills-LZBJRJJE.js',
14+
'/styles-5INURTSO.css',
15+
'/dashboard',
16+
'/heroes',
17+
])
18+
})

demo/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)