minor content changes, adding hash to js
This commit is contained in:
parent
d4a5a971bf
commit
95cac7cf5b
2 changed files with 0 additions and 15 deletions
|
|
@ -31,9 +31,6 @@ const {
|
|||
// module import collections
|
||||
const {getAllPosts} = require('./config/collections/index.js');
|
||||
|
||||
// module import events
|
||||
const {before} = require('./config/events/before.js');
|
||||
|
||||
// plugins
|
||||
const markdownLib = require('./config/plugins/markdown.js');
|
||||
const {EleventyRenderPlugin} = require('@11ty/eleventy');
|
||||
|
|
@ -87,9 +84,6 @@ module.exports = eleventyConfig => {
|
|||
eleventyConfig.addPlugin(require('./config/template-languages/css-config.js'));
|
||||
eleventyConfig.addPlugin(require('./config/template-languages/js-config.js'));
|
||||
|
||||
// --------------------- Custom events ---------------------
|
||||
// eleventyConfig.addPlugin(require('./config/events/before.js'));
|
||||
|
||||
// --------------------- Custom collections -----------------------
|
||||
eleventyConfig.addCollection('posts', getAllPosts);
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +0,0 @@
|
|||
var fs = require('fs');
|
||||
|
||||
module.exports = eleventyConfig => {
|
||||
eleventyConfig.on('eleventy.before', async () => {
|
||||
fs.copyFile('src/assets/scripts/app.js', 'src/_includes/app-min.js', err => {
|
||||
if (err) throw err;
|
||||
});
|
||||
});
|
||||
};
|
||||
Loading…
Reference in a new issue