The previous import of the version number from package.json
looked like a named import, but was actually object destructuring
that was supported by the rollup json plugin.
This causes issues when importing patterns with webpack (as we
do with our new NextJS based frontend) so this commit switches
to importing JSON as the default export, which is also ok with webpack