next.js/test/production/app-dir/actions-tree-shaking/client-actions-tree-shaking/app/actions.js
actions.js17 lines315 B
'use server'

// Ensure side effects won't affect tree shaking and DCE
console.log('This is a side effect')

export async function foo() {
  console.log('This is action foo')
}

export async function bar() {
  console.log('This is action bar')
}

export async function baz() {
  console.log('This is action baz')
}
Quest for Codev2.0.0
/
SIGN IN