mirror of
https://github.com/qlik-oss/nebula.js.git
synced 2025-12-19 17:58:43 -05:00
chore: add favicon (#166)
This commit is contained in:
committed by
GitHub
parent
5714450063
commit
22ec51a65b
@@ -5,6 +5,7 @@ const babelPath = require.resolve('babel-loader');
|
||||
const babelPresetEnvPath = require.resolve('@babel/preset-env');
|
||||
const babelPresetReactPath = require.resolve('@babel/preset-react');
|
||||
const sourceMapLoaderPath = require.resolve('source-map-loader');
|
||||
const favicon = path.resolve(__dirname, '../../../docs/assets/njs.png');
|
||||
|
||||
const cfg = ({ srcDir, distDir, snPath, dev = false }) => {
|
||||
const config = {
|
||||
@@ -72,16 +73,19 @@ const cfg = ({ srcDir, distDir, snPath, dev = false }) => {
|
||||
template: path.resolve(srcDir, 'eRender.html'),
|
||||
filename: 'eRender.html',
|
||||
chunks: ['eRender'],
|
||||
favicon,
|
||||
}),
|
||||
new HtmlWebpackPlugin({
|
||||
template: path.resolve(srcDir, 'eDev.html'),
|
||||
filename: 'eDev.html',
|
||||
chunks: ['eDev'],
|
||||
favicon,
|
||||
}),
|
||||
new HtmlWebpackPlugin({
|
||||
template: path.resolve(srcDir, 'eHub.html'),
|
||||
filename: 'eHub.html',
|
||||
chunks: ['eHub'],
|
||||
favicon,
|
||||
}),
|
||||
],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user