Skip to content

Commit 0eac12b

Browse files
committed
Fix module importing
1 parent 5eb294a commit 0eac12b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ https://github.com/necolas/normalize.css
99
import jss from 'jss'
1010
import normalize from 'jss-normalize'
1111

12-
jss.createStyleSheet(normalize).attach()
12+
jss.createStyleSheet(normalize, {named: false}).attach()
1313
```````````````````
1414

1515
#### You must know

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Anyway, you can use a preset (https://github.com/cssinjs/jss-preset-default) for a quick setup with default plugins.
1111
*/
1212

13-
export default {
13+
module.exports = {
1414

1515
/**
1616
* 1. Change the default font family in all browsers (opinionated).

0 commit comments

Comments
 (0)