Skip to content
This repository has been archived by the owner on Jun 22, 2024. It is now read-only.

Commit

Permalink
All pkgs update, remove webpack, babel, etc.
Browse files Browse the repository at this point in the history
  • Loading branch information
Shane Robinson committed Oct 18, 2022
1 parent 4b92c3f commit 445d3e1
Show file tree
Hide file tree
Showing 13 changed files with 10,142 additions and 11,204 deletions.
9 changes: 0 additions & 9 deletions .babelrc

This file was deleted.

22 changes: 12 additions & 10 deletions .eleventy.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
const fs = require('fs')
// const fs = require('fs')
const pluginRss = require('@11ty/eleventy-plugin-rss')
const pluginNavigation = require('@11ty/eleventy-navigation')
const syntaxHighlight = require('@11ty/eleventy-plugin-syntaxhighlight')
const pluginSvgSprite = require("eleventy-plugin-svg-sprite");
const markdownIt = require('markdown-it')
const markdownItEmoji = require('markdown-it-emoji')
const pluginSvgSprite = require("eleventy-plugin-svg-sprite");

// const collections = require('./utils/collections.js')
const filters = require('./utils/filters.js')
const shortcodes = require('./utils/shortcodes.js')
const pairedshortcodes = require('./utils/paired-shortcodes.js')
const transforms = require('./utils/transforms.js')
// const transforms = require('./utils/transforms.js')

module.exports = function (eleventyConfig) {
/**
Expand All @@ -21,9 +21,11 @@ module.exports = function (eleventyConfig) {
eleventyConfig.addPlugin(pluginRss)
eleventyConfig.addPlugin(pluginNavigation)
eleventyConfig.addPlugin(syntaxHighlight)
eleventyConfig.addPlugin(pluginSvgSprite, {
path: "./src/assets/svg",
globalClasses: "fill-current"


eleventyConfig.addPlugin(pluginSvgSprite, {
path: "./src/assets/svg",
globalClasses: "fill-current"
})

/**
Expand All @@ -37,10 +39,10 @@ module.exports = function (eleventyConfig) {
/**
* Transforms
* @link https://www.11ty.io/docs/config/#transforms
*/
Object.keys(transforms).forEach((transformName) => {
eleventyConfig.addTransform(transformName, transforms[transformName])
})
Object.keys(transforms).forEach((transformName) => {
eleventyConfig.addTransform(transformName, transforms[transformName])
})
*/

/**
* Shortcodes
Expand Down
Loading

0 comments on commit 445d3e1

Please sign in to comment.