after ELEVENTY_EXPERIMENTAL=true ELEVENTY_ENV=production eleventy eleventy throws an error:
Problem writing Eleventy templates: (more in DEBUG output)
> Unexpected token (Note that you need plugins to import files that are not JavaScript)
`Error` was thrown:
Error: Unexpected token (Note that you need plugins to import files that are not JavaScript)
at error (/Users/dh/Projects/magix/node_modules/rollup/dist/shared/rollup.js:5279:30)
at Module.error (/Users/dh/Projects/magix/node_modules/rollup/dist/shared/rollup.js:9996:16)
at tryParse (/Users/dh/Projects/magix/node_modules/rollup/dist/shared/rollup.js:9855:23)
at Module.setSource (/Users/dh/Projects/magix/node_modules/rollup/dist/shared/rollup.js:10303:19)
at ModuleLoader.addModuleSource (/Users/dh/Projects/magix/node_modules/rollup/dist/shared/rollup.js:18603:20)
at async ModuleLoader.fetchModule (/Users/dh/Projects/magix/node_modules/rollup/dist/shared/rollup.js:18659:9)
at async Promise.all (index 1)
When using the
rollupPluginVueOptions
with theexclude
optionafter
ELEVENTY_EXPERIMENTAL=true ELEVENTY_ENV=production eleventy
eleventy throws an error:Node: v14.15.4 npm: 6.14.10