0

Does anyone know of an example snowpack config that works with cordova? I'm having path errors in my cordova build, which is probably related to relative/absolute path settings. Couldn't find any examples of snowpack/cordova .

Jingle
  • 573
  • 3
  • 15

1 Answers1

0

this fixed it.

snowpack.config.js

...
buildOptions: {
    baseUrl: "./",
    // default is "/", which I think cordova interprets as absolute path
  },
...

Snowpack docs link

Jingle
  • 573
  • 3
  • 15