mirror of
https://github.com/gohugoio/hugo.git
synced 2025-05-02 08:30:07 +03:00
parent
48eec2a4e6
commit
621194a319
7 changed files with 14 additions and 13 deletions
|
@ -218,7 +218,7 @@ func createBuildPlugins(depsManager identity.Manager, c *Client, opts Options) (
|
|||
isStdin := args.Importer == stdinImporter
|
||||
var relDir string
|
||||
if !isStdin {
|
||||
rel, found := fs.MakePathRelative(args.Importer)
|
||||
rel, found := fs.MakePathRelative(args.Importer, true)
|
||||
if !found {
|
||||
// Not in any of the /assets folders.
|
||||
// This is an import from a node_modules, let
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue