Skip to content

Commit

Permalink
feat: improve dep optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanPiercey committed Oct 5, 2023
1 parent 5b89c7e commit 23559a6
Show file tree
Hide file tree
Showing 9 changed files with 5,932 additions and 10,905 deletions.
5 changes: 5 additions & 0 deletions .changeset/clever-dolphins-press.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@marko/vite": patch
---

Improve commonjs interop for node_module `.marko` files which do not render any tags and/or use `export * from`.
5 changes: 5 additions & 0 deletions .changeset/pretty-dryers-sell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@marko/vite": minor
---

Support Vite's dependency optimization scanning.
5 changes: 5 additions & 0 deletions .changeset/shy-plums-ring.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@marko/vite": patch
---

Improve support for Vitest by stripping off queries it adds before determining if we should process the module as a Marko file.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Use node
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
cache: npm
- name: Install dependencies
run: npm ci
Expand All @@ -44,7 +44,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
node: [14, 16, 18]
node: [16, 18, 20]
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand All @@ -69,7 +69,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
cache: npm
- name: Install dependencies
run: npm ci
Expand Down
Loading

0 comments on commit 23559a6

Please sign in to comment.