Giter Site home page Giter Site logo

Comments (2)

imsus avatar imsus commented on September 28, 2024

Hi @nestbeatdev

This is Workaround for v2 (involves editing directly in node_modules which is not recommended).

  1. Update api.compatibleWith() to support ^2.0.0
    Go to node_modules/quasar-app-extension-onesignal/src/index.js on line 49: https://github.com/motia/quasar-app-extension-onesignal/blob/master/src/index.js#L49
-api.compatibleWith('@quasar/app', '^1.0.0')
+api.compatibleWith('@quasar/app', '^2.0.0')
  1. Update the new CopyPlugin() function using new version of Webpack Plugin Copy
    Go to node_modules/quasar-app-extension-onesignal/src/index.js on line 39: https://github.com/motia/quasar-app-extension-onesignal/blob/master/src/index.js#L39-L45
-conf.plugins.push(new CopyPlugin([
  {
    from: path.join(__dirname, 'assets', 'root'),
    to: '.',
    transform: (content, path) => swTransformer(mode, path)
  }
-]))
+conf.plugins.push(new CopyPlugin({
+  patterns: [
    {
      from: path.join(__dirname, 'assets', 'root'),
      to: '.',
      transform: (content, path) => swTransformer(mode, path)
    }
+  ]
+})

from quasar-app-extension-onesignal.

motia avatar motia commented on September 28, 2024

Implemented in version 0.3.0, it will support both v2 with BC to v1.

from quasar-app-extension-onesignal.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.