favicon builds now
This commit is contained in:
parent
e2aef6b052
commit
4277844fac
2 changed files with 30 additions and 16 deletions
|
@ -30,7 +30,7 @@
|
||||||
"dompurify": "^0.8.9",
|
"dompurify": "^0.8.9",
|
||||||
"drop-stream": "^1.0.0",
|
"drop-stream": "^1.0.0",
|
||||||
"duplex-maker": "^1.0.0",
|
"duplex-maker": "^1.0.0",
|
||||||
"extract-loader": "^3.1.0",
|
"extract-loader": "^5.0.1",
|
||||||
"file-loader": "^4.3.0",
|
"file-loader": "^4.3.0",
|
||||||
"getusermedia": "^2.0.0",
|
"getusermedia": "^2.0.0",
|
||||||
"html-loader": "^0.5.5",
|
"html-loader": "^0.5.5",
|
||||||
|
@ -40,8 +40,8 @@
|
||||||
"lodash.assign": "^4.2.0",
|
"lodash.assign": "^4.2.0",
|
||||||
"microphone-stream": "^3.0.5",
|
"microphone-stream": "^3.0.5",
|
||||||
"node-sass": "^4.9.3",
|
"node-sass": "^4.9.3",
|
||||||
"raw-loader": "^0.5.1",
|
"raw-loader": "^4.0.0",
|
||||||
"regexp-replace-loader": "0.0.1",
|
"regexp-replace-loader": "1.0.1",
|
||||||
"sass-loader": "^4.1.1",
|
"sass-loader": "^4.1.1",
|
||||||
"stream-chunker": "^1.2.8",
|
"stream-chunker": "^1.2.8",
|
||||||
"subworkers": "^1.0.1",
|
"subworkers": "^1.0.1",
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
var theme = '../themes/MetroMumbleLight'
|
||||||
var path = require('path');
|
var path = require('path');
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
@ -29,12 +30,21 @@ module.exports = {
|
||||||
{
|
{
|
||||||
test: /\.html$/,
|
test: /\.html$/,
|
||||||
use: [
|
use: [
|
||||||
'file-loader?name=[name].[ext]',
|
{
|
||||||
'extract-loader',
|
loader: 'file-loader',
|
||||||
'html-loader?' + JSON.stringify({
|
options: { 'name': '[name].[ext]' }
|
||||||
attrs: ['img:src', 'link:href'],
|
},
|
||||||
interpolate: 'require'
|
{
|
||||||
})
|
loader: "extract-loader"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
loader: 'html-loader',
|
||||||
|
options: {
|
||||||
|
attrs: ['img:src', 'link:href'],
|
||||||
|
//interpolate: 'require',
|
||||||
|
root: theme
|
||||||
|
}
|
||||||
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -46,17 +56,21 @@ module.exports = {
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
type: 'javascript/auto',
|
||||||
test: /manifest\.json$|\.xml$/,
|
test: /manifest\.json$|\.xml$/,
|
||||||
use: [
|
use: [
|
||||||
'file-loader',
|
'file-loader',
|
||||||
'extract-loader',
|
'extract-loader',
|
||||||
'regexp-replace-loader?' + JSON.stringify({
|
{
|
||||||
match: {
|
loader: 'regexp-replace-loader',
|
||||||
pattern: "#require\\('([^']*)'\\)",
|
options: {
|
||||||
flags: 'g'
|
match: {
|
||||||
},
|
pattern: "#require\\('([^']*)'\\)",
|
||||||
replaceWith: '"+require("$1")+"'
|
flags: 'g'
|
||||||
}),
|
},
|
||||||
|
replaceWith: '"+require("$1")+"'
|
||||||
|
}
|
||||||
|
},
|
||||||
'raw-loader'
|
'raw-loader'
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue