File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ module.exports = function loader (content) {
1212 if ( originPublicPath === undefined ) originPublicPath = options . publicPath ;
1313 let _query = this . _compilation . name ;
1414 options . publicPath = function ( url ) {
15- if ( _query && / (?: \= | \. ) (?: s c s s | c s s ) $ / . test ( _query ) ) return handlePath ( options . publicStylePath , url ) ;
15+ if ( _query && / (?: \= | \. ) (?: s c s s | l e s s | s t y l | s t y l u s | c s s ) $ / . test ( _query ) ) return handlePath ( options . publicStylePath , url ) ;
1616 else return handlePath ( originPublicPath , url ) ;
1717 } ;
1818 }
Original file line number Diff line number Diff line change 11{
22 "name" : " vue-asset-loader" ,
3- "version" : " 0.1.0 " ,
3+ "version" : " 0.1.1 " ,
44 "description" : " a file-loader for Vue solve the image relative path issues when HTML and CSS not in the same directory" ,
55 "main" : " index.js" ,
66 "scripts" : {
You can’t perform that action at this time.
0 commit comments