attempt to resolve issues
This commit is contained in:
parent
121108f85a
commit
e964893b13
@ -61,7 +61,8 @@ export class Transformer {
|
||||
static getHtmlContent = (content) => {
|
||||
let htmlContent = []
|
||||
const sanitizedContent = Transformer.preprocessThreeDashes(content)
|
||||
|
||||
htmlContent = ["<div>Placeholder</div>"]
|
||||
/*
|
||||
unified()
|
||||
.use(markdown, { gfm: true })
|
||||
.use(obsidianImage)
|
||||
@ -85,11 +86,12 @@ export class Transformer {
|
||||
.process(sanitizedContent,
|
||||
function(err, file) {
|
||||
htmlContent.push(String(file).replace('\n', ''))
|
||||
if (err !== (null | undefined)) {
|
||||
console.log('ERRROR:' + err)
|
||||
if (err !== null && err !== undefined) {
|
||||
console.log('CUSTOM ERROR @transformer.js:89:' + err)
|
||||
}
|
||||
}
|
||||
)
|
||||
*/
|
||||
htmlContent = htmlContent.join('')
|
||||
htmlContent = htmlContent.split('---')
|
||||
return [htmlContent]
|
||||
|
@ -1,3 +1,9 @@
|
||||
[build]
|
||||
command = "npm run build"
|
||||
publish = "out"
|
||||
|
||||
[[plugins]]
|
||||
package = "@netlify/plugin-nextjs"
|
||||
|
||||
[[plugins]]
|
||||
package = "netlify-plugin-cache-nextjs"
|
||||
|
@ -1,4 +1,8 @@
|
||||
export function webpack(config) {
|
||||
config.resolve.fallback = { ...config.resolve.fallback, fs: false }
|
||||
return config
|
||||
/**
|
||||
* @type {import('next').NextConfig}
|
||||
*/
|
||||
const nextConfig = {
|
||||
output: 'export'
|
||||
}
|
||||
|
||||
export default nextConfig
|
||||
|
Loading…
Reference in New Issue
Block a user