Unexpected token when using ‘export default’

In my Vue project I’m using stuff like:

export const functionOne = () => {}

all over the place and have had no problems until now. I’ve got a postcss file that starts like this:

export default {}

and I’m getting an error saying SyntaxError: Unexpected token 'export'. Any idea how to solve this?