File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -16,9 +16,10 @@ class VueCssModules {
16
16
sourceMap : false , // {Boolean}
17
17
importLoaders : 1 , // {Number} // webpackDefault: 0 // laravel-mix default: 1
18
18
esModule : true , // {Boolean},
19
- localIdentName : options . cssLoaderOptions . localIdentName
20
- ? options . cssLoaderOptions . localIdentName
21
- : this . defaultLocalIdentName ( options . localIdentNameType ) , // {String}
19
+ localIdentName :
20
+ options . cssLoaderOptions && options . cssLoaderOptions . localIdentName
21
+ ? options . cssLoaderOptions . localIdentName
22
+ : this . defaultLocalIdentName ( options . localIdentNameType ) , // {String}
22
23
} ;
23
24
24
25
const cssLoaderOptions = {
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " laravel-mix-vue-css-modules" ,
3
- "version" : " 2.1.0 " ,
3
+ "version" : " 2.1.1 " ,
4
4
"description" : " A Laravel Mix extension for css modules support." ,
5
5
"main" : " index.js" ,
6
6
"scripts" : {
13
13
"keywords" : [
14
14
" laravel" ,
15
15
" laravel-mix" ,
16
+ " css-modules" ,
16
17
" mix" ,
17
18
" webpack" ,
18
19
" vue-css-modules" ,
You can’t perform that action at this time.
0 commit comments