bootstrap-loader icon indicating copy to clipboard operation
bootstrap-loader copied to clipboard

Specify glyphicon path after build

Open sinnbeck opened this issue 7 years ago • 2 comments

Is it somehow possible to specify the path to where the icons should be placed after building? I expect it to be something like use: 'url-loader?name=./docs/fonts/[name].[ext] but that does not work.

Edit: Got it working with outputPath=[path]/../../../docs/fonts/, but I hope there is a more simple way of doing it :)

sinnbeck avatar Feb 20 '17 12:02 sinnbeck

@Resin01 I'm not sure what you're asking for. It seems like you found a solution to use a relative path.

justin808 avatar Feb 21 '17 06:02 justin808

Well i was just hoping to be able to do something a bit more simple like outputPath=[path/fonts It seems that [path] is pointing to node_modules/boostrap-loader/lib. Was hoping to somehow set [path] to use the context set in my webpack config (which is context: path.resolve(__dirname, './docs/'))

sinnbeck avatar Feb 21 '17 06:02 sinnbeck