add last-comments widget to webpack build script
This commit is contained in:
@@ -94,7 +94,7 @@ _instructions for google oauth2 setup borrowed from [oauth2_proxy](https://githu
|
||||
1. Under **"Facebook login"** / **"Settings"** fill "Valid OAuth redirect URIs" with your callback url constructed as domain + `/auth/facebook/callback`
|
||||
1. Select **"App Review"** and turn public flag on. This step may ask you to provide a link to your privacy policy.
|
||||
|
||||
#### Initial import from disqus
|
||||
#### Initial import from Disqus
|
||||
|
||||
1. Disqus provides an export of all comments on your site in a g-zipped file. This is found in your Moderation panel at Disqus Admin > Setup > Export. The export will be sent into a queue and then emailed to the address associated with your account once it's ready.
|
||||
2. Move this file to your remark42 host and unzip.
|
||||
|
||||
@@ -41,6 +41,7 @@ module.exports = {
|
||||
remark: './app/remark',
|
||||
embed: './app/embed',
|
||||
counter: './app/counter',
|
||||
'last-comments': './app/last-comments',
|
||||
},
|
||||
output: {
|
||||
path: publicFolder,
|
||||
@@ -110,6 +111,12 @@ module.exports = {
|
||||
filename: 'counter.html',
|
||||
inject: false,
|
||||
}),
|
||||
// TODO: we should add it only on demo serv
|
||||
new Html({
|
||||
template: path.resolve(__dirname, 'last-comments.ejs'),
|
||||
filename: 'last-comments.html',
|
||||
inject: false,
|
||||
}),
|
||||
...(env === 'production' ? [] : [new Html({
|
||||
template: path.resolve(__dirname, 'dev.ejs'),
|
||||
filename: 'dev.html',
|
||||
|
||||
Reference in New Issue
Block a user