Skip to content
This repository was archived by the owner on Mar 17, 2021. It is now read-only.

[Question]public path configuration #94

Closed
JanEggers opened this issue Oct 12, 2016 · 2 comments
Closed

[Question]public path configuration #94

JanEggers opened this issue Oct 12, 2016 · 2 comments

Comments

@JanEggers
Copy link

JanEggers commented Oct 12, 2016

hi,

im having problems with setting up the correct public path configuration.

i use this settings:

{
   test: /\.(ttf|eot|svg)(\?v=[0-9]\.[0-9]\.[0-9])?$/,
   loader: "file-loader?name=/wwwroot/bundles/fonts/[name].[ext]&publicPath=../"
}

the output is placed in /wwwroot/bundles/font, that is what i desire.

But the public path that is used for refrences is ../wwwroot/bundles/fonts/ but what i need is /bundles/fonts/.

what do i need to configure to make it work that way?

@SpaceK33z
Copy link
Contributor

See #81.

@JanEggers
Copy link
Author

thx for pointing me there

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants