Closed minorsecond closed 1 year ago
Figured it out:
after running npm install
:
node_modules/sidebar-v2/package.json
, add an ol
dependency linenode_modules/ol/control.json
, add this: export {default as Sidebar} from 'sidebar-v2/js/ol5-sidebar.js';
I'm trying to run
npm run build
build I get the error in the title, using OpenLayers 5.4.0.I've gotten it to work before, so I know it's possible, I just can't remember what exactly needs to be done.
Here's the full error message: