feat: added latex generation

This commit is contained in:
Morten Olsen
2022-03-29 23:01:49 +02:00
parent 90fdaeb406
commit d1d77ed915
68 changed files with 1506 additions and 290 deletions

View File

@@ -1,6 +1,7 @@
const withPlugins = require("next-compose-plugins");
const withImages = require("./config/plugins/withImages.js");
const withLatex = require('./config/plugins/withLatex');
const withBundleAnalyzer = require("@next/bundle-analyzer")({
enabled: process.env.ANALYZE === "true",
});
@@ -13,6 +14,7 @@ const nextConfig = {
};
module.exports = withPlugins([
withLatex,
[withImages,{
esModule: true, // using ES modules is beneficial in the case of module concatenation and tree shaking.
inlineImageLimit: 0, // disable image inlining to data:base64