mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Move EleventyServerlessBundlerPlugin to top
This commit is contained in:
parent
6598633a4a
commit
93db24e5a3
1 changed files with 5 additions and 6 deletions
11
.eleventy.js
11
.eleventy.js
|
|
@ -51,6 +51,11 @@ const appBundles = new Map()
|
|||
module.exports = function ( eleventyConfig ) {
|
||||
// console.log('eleventyConfig', eleventyConfig)
|
||||
|
||||
eleventyConfig.addPlugin(EleventyServerlessBundlerPlugin, {
|
||||
name: "eleventy-builder", // The serverless function name from your permalink object
|
||||
functionsDir: "./netlify/functions/",
|
||||
})
|
||||
|
||||
// Global Nuxt data
|
||||
eleventyConfig.addJavaScriptFunction('getNuxt', function () {
|
||||
return nuxtConfig
|
||||
|
|
@ -176,12 +181,6 @@ module.exports = function ( eleventyConfig ) {
|
|||
})
|
||||
|
||||
|
||||
eleventyConfig.addPlugin(EleventyServerlessBundlerPlugin, {
|
||||
name: "eleventy-builder", // The serverless function name from your permalink object
|
||||
functionsDir: "./netlify/functions/",
|
||||
})
|
||||
|
||||
|
||||
return {
|
||||
// https://www.11ty.dev/docs/config/#template-formats
|
||||
// Default: html,liquid,ejs,md,hbs,mustache,haml,pug,njk,11ty.js
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue