I am using Visual Studio ASP.NET and define my angular app inside the
ClientApp folder. The webpack.config.js defines the images loader but the
images are not copied over to the dist folder upon running ASP. NET CORE
from within the Visual Studio environment.
module: {
loaders: [
{ test: /\.ts$/, include: /ClientApp/, loader: 'ts', query: {
silent: true } },
{ test: /\.html$/, loader: 'raw' },
{ test: /\.css$/, loader: 'to-string!css' },
{ test: /\.(png|jpg|jpeg|gif|svg)$/, loader: 'url', query: {
limit: 25000 } }
]
}
After running the project, I expect the images to be in some sort of a
public folder accessible via the browser but I can't access any images
because they are not being copied over to the "dist" folder. Any ideas why ?
--
You received this message because you are subscribed to the Google Groups
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.