File tree 5 files changed +8
-28
lines changed
5 files changed +8
-28
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -108,5 +108,4 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
108
108
-
109
109
110
110
### Fixed
111
-
112
- -
111
+ - Remove ` babel-plugin-styled-components ` to use nextjs built in compiler
Original file line number Diff line number Diff line change @@ -6,6 +6,12 @@ const withPWA = require('next-pwa')({
6
6
} ) ;
7
7
8
8
module . exports = withPWA ( {
9
+ compiler : {
10
+ styledComponents : {
11
+ ssr : true ,
12
+ cssProp : true ,
13
+ } ,
14
+ } ,
9
15
i18n : {
10
16
locales : [ 'en' ] ,
11
17
defaultLocale : 'en' ,
Original file line number Diff line number Diff line change 33
33
"swiper" : " ^8.2.2"
34
34
},
35
35
"devDependencies" : {
36
- "babel-plugin-styled-components" : " ^2.1.1" ,
37
36
"husky" : " ^8.0.0" ,
38
37
"lint-staged" : " ^13.0.3" ,
39
38
"prettier" : " ^2.7.1" ,
Original file line number Diff line number Diff line change @@ -1439,17 +1439,6 @@ babel-plugin-polyfill-regenerator@^0.3.1:
1439
1439
lodash "^4.17.11"
1440
1440
picomatch "^2.3.0"
1441
1441
1442
- babel-plugin-styled-components@^2.1.1 :
1443
- version "2.1.1"
1444
- resolved "https://registry.yarnpkg.com/babel-plugin-styled-components/-/babel-plugin-styled-components-2.1.1.tgz#cd977cc0ff8410d5cbfdd142e42576e9c8794b87"
1445
- integrity sha512-c8lJlszObVQPguHkI+akXv8+Jgb9Ccujx0EetL7oIvwU100LxO6XAGe45qry37wUL40a5U9f23SYrivro2XKhA==
1446
- dependencies :
1447
- " @babel/helper-annotate-as-pure" " ^7.16.0"
1448
- " @babel/helper-module-imports" " ^7.16.0"
1449
- babel-plugin-syntax-jsx "^6.18.0"
1450
- lodash "^4.17.21"
1451
- picomatch "^2.3.0"
1452
-
1453
1442
babel-plugin-syntax-jsx@^6.18.0 :
1454
1443
version "6.18.0"
1455
1444
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-jsx/-/babel-plugin-syntax-jsx-6.18.0.tgz#0af32a9a6e13ca7a3fd5069e62d7b0f58d0d8946"
@@ -2606,7 +2595,7 @@ lodash.sortby@^4.7.0:
2606
2595
resolved "https://registry.yarnpkg.com/lodash.sortby/-/lodash.sortby-4.7.0.tgz#edd14c824e2cc9c1e0b0a1b42bb5210516a42438"
2607
2596
integrity sha512-HDWXG8isMntAyRF5vZ7xKuEvOhT4AhlRt/3czTSjvGUxjYCBVRQY48ViDHyfYz9VIoBkW4TMGQNapx+l3RUwdA==
2608
2597
2609
- lodash@^4.17.11, lodash@^4.17.20, lodash@^4.17.21 :
2598
+ lodash@^4.17.11, lodash@^4.17.20 :
2610
2599
version "4.17.21"
2611
2600
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"
2612
2601
integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==
You can’t perform that action at this time.
0 commit comments