File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
packages/webpack-plugin/src Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " @devup-ui/webpack-plugin " : patch
3+ ---
4+
5+ file dep path issue
Original file line number Diff line number Diff line change 66 writeFileSync ,
77} from 'node:fs'
88import { createRequire } from 'node:module'
9- import { dirname , join } from 'node:path'
9+ import { dirname , join , resolve } from 'node:path'
1010import { fileURLToPath } from 'node:url'
1111
1212import { getCss , getThemeInterface , registerTheme } from '@devup-ui/wasm'
@@ -75,7 +75,7 @@ export class DevupUIWebpackPlugin {
7575 }
7676
7777 compiler . hooks . afterCompile . tap ( 'DevupUIWebpackPlugin' , ( compilation ) => {
78- compilation . fileDependencies . add ( this . options . devupPath )
78+ compilation . fileDependencies . add ( resolve ( this . options . devupPath ) )
7979 } )
8080 }
8181
You can’t perform that action at this time.
0 commit comments