File tree 3 files changed +4
-3
lines changed 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 128
128
.yarn /build-state.yml
129
129
.yarn /install-state.gz
130
130
.pnp. *
131
- /dist
131
+ /dist
132
+ .history
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " vite-plugin-icons-spritesheet" ,
3
- "version" : " 2.2.0 " ,
3
+ "version" : " 2.2.1 " ,
4
4
"description" : " Vite plugin that generates a spritesheet and types out of your icons folder." ,
5
5
"main" : " ./dist/index.js" ,
6
6
"module" : " ./dist/index.mjs" ,
Original file line number Diff line number Diff line change @@ -337,7 +337,7 @@ export const iconsSpritesheet: (args: PluginProps | PluginProps[]) => any = (may
337
337
338
338
config . build . assetsInlineLimit = ( name , content ) => {
339
339
const isSpriteSheet = allSpriteSheetNames . some ( ( spriteSheetName ) => {
340
- return name === normalizePath ( `${ workDir } / ${ outputDir } /${ spriteSheetName } ` ) ;
340
+ return name . endsWith ( normalizePath ( `${ outputDir } /${ spriteSheetName } ` ) ) ;
341
341
} ) ;
342
342
// Our spritesheet? Early return
343
343
if ( isSpriteSheet ) {
You can’t perform that action at this time.
0 commit comments