Skip to content

Commit

Permalink
chore: bump rolldown
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphi-red committed Nov 13, 2024
1 parent c2f3fbb commit 7e142c3
Show file tree
Hide file tree
Showing 4 changed files with 68 additions and 54 deletions.
2 changes: 1 addition & 1 deletion packages/vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"dependencies": {
"esbuild": "^0.24.0",
"postcss": "^8.4.48",
"rolldown": "https://pkg.pr.new/rolldown@dee08ac",
"rolldown": "https://pkg.pr.new/rolldown@72ed6ce",
"rollup": "^4.23.0"
},
"devDependencies": {
Expand Down
7 changes: 7 additions & 0 deletions playground/css-codesplit/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ export default defineConfig({
'shared-css-with-js': resolve(__dirname, 'shared-css-with-js.html'),
'shared-css-no-js': resolve(__dirname, 'shared-css-no-js.html'),
},
experimental: {
// set this to keep the previous chunking behavior to make tests pass easier
// as some tests relies on the chunking behavior
// (using advancedChunks enable this)
// related: https://github.com/vitejs/vite/pull/18652
strictExecutionOrder: false,
},
output: {
// manualChunks(id) {
// // make `chunk.css` it's own chunk for easier testing of pure css chunks
Expand Down
7 changes: 7 additions & 0 deletions playground/js-sourcemap/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ export default defineConfig({
build: {
sourcemap: true,
rollupOptions: {
experimental: {
// set this to keep the previous chunking behavior to make tests pass easier
// as some tests relies on the chunking behavior
// (using advancedChunks enable this)
// related: https://github.com/vitejs/vite/pull/18652
strictExecutionOrder: false,
},
output: {
// manualChunks(name) {
// if (name.endsWith('after-preload-dynamic.js')) {
Expand Down
106 changes: 53 additions & 53 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7e142c3

Please sign in to comment.