We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e59b97 commit 3bbb08eCopy full SHA for 3bbb08e
src/conf/webpack.config.js
@@ -5,8 +5,10 @@ const UPATH = require('upath');
5
const paths = require('./path');
6
const pkg = require('../../package.json');
7
8
-const define = paths.rdocConf && paths.rdocConf.footer && typeof paths.rdocConf.footer === 'string'
9
- ? { FOOTER: JSON.stringify(paths.rdocConf.footer) } : {};
+const define = { FOOTER: null };
+if (paths.rdocConf && paths.rdocConf.footer && typeof paths.rdocConf.footer === 'string') {
10
+ define.FOOTER = JSON.stringify(paths.rdocConf.footer);
11
+}
12
13
module.exports = {
14
entry: {},
0 commit comments