Using KRPano with Webpack install

  • Hey,

    I'm testing several things with KRPano, and wanted to know if is there a way to use it through Webpack installation ?
    I tried a basic import of the file, but it throw "embedpano is not defined"
    So I tried to use the exports-loader webpack plugin to auto export the function, but still not working (throw huge errors ^^)
    And my last try was to manually add export to the embedpano function, but got the same huge error.


    So wanted to know if is there a way to achieve that ? Because Webpack is really necessary to my futures project

    Thanks,
    Navalex

    A front-end web developer, specialized in Virtual Tours and ReactJS

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!