Skip to content

Commit

Permalink
fix: import issues
Browse files Browse the repository at this point in the history
  • Loading branch information
TrebledJ committed Oct 18, 2024
1 parent 352448b commit 213767e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions eleventy.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
const { Transform } = require('stream');
const chalk = require('chalk');
const { minify } = require('terser');

const plugins = require('./eleventy/plugins');
const filters = require('./eleventy/filters');
Expand Down
6 changes: 3 additions & 3 deletions eleventy/plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ const { minify } = require('terser');
const CleanCSS = require('clean-css');
const chalk = require('chalk');

const { modifyExternalLinksToOpenInSeparateTab } = require('./eleventy/detail/helpers');
const htmlcsp = require('./eleventy/detail/html-csp-transform');
const { modifyExternalLinksToOpenInSeparateTab } = require('./detail/helpers');
const htmlcsp = require('./detail/html-csp-transform');

module.exports = function (eleventyConfig) {
eleventyConfig.addPlugin(pluginRss);
Expand Down Expand Up @@ -89,7 +89,7 @@ module.exports = function (eleventyConfig) {
});

if (process.env.ENVIRONMENT === 'production') {
eleventyConfig.addPlugin(require('./eleventy/plugins.filemin'));
eleventyConfig.addPlugin(require('./plugins.filemin'));
}

// Other Transforms
Expand Down

0 comments on commit 213767e

Please sign in to comment.