In production, index.js and project.js were files that could not be found on the project build, thus functionalities like project search and display of the US Government website banner did not work. This was due to a incorrect rollup.js configuration.
Solution
Corrected the rollup.js configuration to include all js files in src/js. Also fixed a minor url issue.
Rollup: Fixed JS files during build process
Problem
In production,
index.js
andproject.js
were files that could not be found on the project build, thus functionalities like project search and display of the US Government website banner did not work. This was due to a incorrect rollup.js configuration.Solution
Corrected the rollup.js configuration to include all js files in
src/js
. Also fixed a minor url issue.