Do not working wds without svg
See original GitHub issueIf you run wds with an empty icon folder and then add icons, then the svg-spritemap-webpack-plugin will not work.
But if you run wds with any icon, then adding new svg-spritemap-webpack-plugin will work fine.
config:
const SvgSpriteMapWebpackPlugin = require('svg-spritemap-webpack-plugin')
const cwd = require('../cwd')
module.exports = [
new SvgSpriteMapWebpackPlugin(cwd('src/static/icons/*.svg'),
{
output: {
filename: 'assets/sprite/sprite.svg',
svgo: true
},
sprite: {
prefix: false,
generate: {
title: false
}
}
}
)
]
const { merge } = require('webpack-merge')
const dev = require('./webpack.dev')
const cwd = require('./slices/cwd')
module.exports = merge(dev, {
devServer: {
injectClient: true,
contentBase: cwd('dist'),
watchContentBase: true,
port: 8080,
open: true,
overlay: {
warnings: true,
errors: true
}
}
})
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:5 (3 by maintainers)
Top Results From Across the Web
WDS on cd problems with IE 11
well after updating to IE 11 WDS on my computer does not work anymore. It says Browser ok : NO and SVG plugin...
Read more >WDS (Wireless Distribution System) is not working
It seems as if WDS is not working. With the laptop I can only ping the TP-Link (the D-Link or other LAN computers...
Read more >WDS "There are no images available" - TechNet - Microsoft
The most common causes of this problem are: 1) The boot image may not contain the correct network driver for the client computer....
Read more >How to Image With Windows Deployment Services (WDS)
1. Install Windows Deployment Services (WDS) Role. In server manager, right click roles and select add role. The add role wizard should come...
Read more >You may need an appropriate loader to handle this file type ...
i 「wds」: Project is running at http://localhost:8080/ i 「wds」: webpack output is served from / i 「wds」: Content not from webpack is served ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
These changes were included in
3.8.0
, thanks once more for reporting the issue! 🚀Perfect work!!!