File tree Expand file tree Collapse file tree 8 files changed +154
-988
lines changed Expand file tree Collapse file tree 8 files changed +154
-988
lines changed Original file line number Diff line number Diff line change 1
- const withSass = require ( '@zeit/next-sass' )
2
- const withCss = require ( '@zeit/next-css' )
3
- const webpack = require ( 'webpack' )
4
- const { parsed : localEnv } = require ( 'dotenv' ) . config ( ) ;
1
+ const path = require ( 'path' )
5
2
6
- module . exports = withCss (
7
- withSass ( {
8
- webpack : config => {
9
- // Fixes npm packages that depend on `fs` module
10
- config . node = {
11
- fs : 'empty'
12
- }
13
- config . plugins . push ( new webpack . EnvironmentPlugin ( localEnv ) )
14
- return config
15
- }
16
- } )
17
- ) ;
3
+ module . exports = {
4
+ sassOptions : {
5
+ includePaths : [ path . join ( __dirname , 'styles/**/*.scss' ) ] ,
6
+ } ,
7
+ }
Original file line number Diff line number Diff line change 33
33
"@sentry/browser" : " ^5.6.3" ,
34
34
"@syncfusion/ej2-react-dropdowns" : " ^17.2.39" ,
35
35
"@syncfusion/ej2-react-grids" : " ^17.2.39" ,
36
- "@zeit/next-css" : " ^1.0.1" ,
37
- "@zeit/next-sass" : " ^1.0.1" ,
38
36
"axios" : " ^0.19.0" ,
39
37
"cookie-parser" : " ^1.4.4" ,
40
38
"dotenv" : " ^8.0.0" ,
49
47
"query-string" : " ^6.12.1" ,
50
48
"react" : " ^16.8.6" ,
51
49
"react-copy-to-clipboard" : " ^5.0.2" ,
52
- "react-datepicker" : " ^2.14.1 " ,
50
+ "react-datepicker" : " ^4.8.0 " ,
53
51
"react-dom" : " ^16.8.6" ,
54
52
"react-modal" : " ^3.9.1" ,
55
53
"react-select" : " ^3.0.4" ,
56
54
"react-spinners" : " ^0.6.1" ,
55
+ "sass" : " ^1.57.1" ,
57
56
"sweetalert2" : " ^8.13.0" ,
58
57
"sweetalert2-react-content" : " ^1.1.0" ,
59
58
"yup" : " ^0.28.5"
65
64
"devDependencies" : {
66
65
"@sentry/webpack-plugin" : " ^1.8.1" ,
67
66
"css-loader" : " ^2.0.0" ,
68
- "node-sass" : " ^4.12.0" ,
69
67
"sass-loader" : " ^7.1.0" ,
70
68
"webpack" : " ^4.39.1"
71
69
}
Original file line number Diff line number Diff line change
1
+ import '../styles/components/CheckLogin.scss'
2
+ import '../styles/components/FieldWithElement.scss'
3
+ import '../styles/components/layout.scss'
4
+ import '../styles/components/Modal.scss'
5
+ import '../styles/components/Pagination.scss'
6
+ import '../styles/components/Price.scss'
7
+ import '../styles/components/ProductsChooser.scss'
8
+ import '../styles/pages/global.scss'
9
+ import '../styles/pages/index.scss'
10
+ import '../styles/pages/admin/coupons.scss'
11
+ import '../styles/pages/admin/coupons2.scss'
12
+ import '../styles/pages/admin/products.scss'
13
+
14
+ export default function MyApp ( { Component, pageProps } ) {
15
+ return < Component { ...pageProps } />
16
+ }
Original file line number Diff line number Diff line change 1
- @import " ../global.scss" ;
2
-
3
1
#search {
4
2
font-size : 14pt ;
5
3
}
Original file line number Diff line number Diff line change 1
- @import " ../global.scss " ;
1
+
2
2
3
3
#random_coupon {
4
4
font-size : 12pt ;
Original file line number Diff line number Diff line change 1
- @import " ../global.scss" ;
2
- @import " ./coupons.scss" ;
3
-
4
1
.product-search-card {
5
2
height : 100% ;
6
3
border : 2px solid #e9e9e9 ;
Original file line number Diff line number Diff line change 1
- @import " ../../../node_modules/@syncfusion/ej2-base/styles/material.css" ;
2
- @import " ../../../node_modules/@syncfusion/ej2-inputs/styles/material.css" ;
3
- @import " ../../../node_modules/@syncfusion/ej2-dropdowns/styles/material.css" ;
1
+ @import " ../../node_modules/@syncfusion/ej2-base/styles/material.css" ;
2
+ @import " ../../node_modules/@syncfusion/ej2-inputs/styles/material.css" ;
3
+ @import " ../../node_modules/@syncfusion/ej2-dropdowns/styles/material.css" ;
4
+ @import " ../../node_modules/react-datepicker/dist/react-datepicker.min.css" ;
4
5
5
6
.title {
6
7
font-weight : 100 ;
You can’t perform that action at this time.
0 commit comments