Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions test/e2e/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ export default function (options: {
config(config) {
return {
build: {
// Currently enabling Rollup treeshake because JS built-ins is not supported yet
// rollupOptions: {
// treeshake: false
// },
outDir: './dist',
minify: false,
emptyOutDir: false,
Expand All @@ -33,6 +29,10 @@ export default function (options: {
fileName: disabled ? 'bundled' : 'shaken',
...config?.build?.lib,
},
rollupOptions: {
...config?.build?.rollupOptions,
treeshake: false,
},
modulePreload: {
polyfill: false,
...(typeof config?.build?.modulePreload === 'object' ? config.build.modulePreload : {}),
Expand Down
Loading