Ask questionscustom-functions-metadata-plugin: doesn't work with firstname.lastname@example.org
For the https://github.com/OfficeDev/Excel-Custom-Functions project, if the version of clean-webpack-plugin is updated to version 3.0.0 in package.json
and the import is updated as in https://github.com/OfficeDev/Excel-Custom-Functions/commit/e02646a8ffcccf3412a3be62ccf26c3269dd08ba,
"npm run build" will not build successfully.
Answer questions akrantz
The change in v3.0.0 to use emit hook seems to interfere with custom-functions-metadata-plugin.
c:\dev\git\Excel-Custom-Functions>npm run build > email@example.com build c:\dev\git\Excel-Custom-Functions > webpack -p --mode production --https false c:\dev\git\Excel-Custom-Functions\dist\functions.json created for file: c:\dev\git\Excel-Custom-Functions\src\functions\functions.ts Error: ENOENT: no such file or directory, stat 'c:\dev\git\Excel-Custom-Functions\dist\functions.json' at Object.statSync (fs.js:1009:3) at c:\dev\git\Excel-Custom-Functions\node_modules\custom-functions-metadata-plugin\lib\customfunctionsplugin.js:46:34
So far, we've just stayed using the older version.
Related questionsNo questions were found.