Skip to content

Commit

Permalink
update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
greggman committed Feb 28, 2024
1 parent b489966 commit 516973a
Show file tree
Hide file tree
Showing 3 changed files with 5,132 additions and 5,990 deletions.
4 changes: 2 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ module.exports = function(grunt) {
test: /\.js$/,
exclude: /node_modules/,
loader: 'babel-loader',
query: {
options: {
presets: ['@babel/preset-env'],
plugins: [
['@babel/plugin-transform-modules-commonjs', {loose: true}],
Expand Down Expand Up @@ -318,7 +318,7 @@ module.exports = function(grunt) {
grunt.registerTask('makeindex', function() {
const {marked} = require('marked');
const fs = require('fs');
const html = marked(fs.readFileSync('README.md', {encoding: 'utf8'}));
const html = marked.parse(fs.readFileSync('README.md', {encoding: 'utf8'}));
const template = fs.readFileSync('build/templates/index.template', {encoding: 'utf8'});
let content = replaceParams(template, {
content: html,
Expand Down
Loading

0 comments on commit 516973a

Please sign in to comment.