---
source: crates/rome_formatter_test/src/snapshot_builder.rs
info:
  test_file: js/range/module-export3.js
---

# Input

```js
import  def , {named}  from    'x'

export *  from   'd'

export    const  x
  =  42

export   default    42


```


# Prettier differences

```diff
--- Prettier
+++ Rome
@@ -1,7 +1,9 @@
-import def, { named } from "x";
+import  def , {named}  from    'x'
 
-export * from "d";
+export *  from   'd'
 
-export const x = 42;
+export    const  x
+  =  42
 
 export default 42;
+
```

# Output

```js
import  def , {named}  from    'x'

export *  from   'd'

export    const  x
  =  42

export default 42;

```