Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working on Webpack #62

Open
ryasmi opened this issue Feb 25, 2020 · 1 comment
Open

Not working on Webpack #62

ryasmi opened this issue Feb 25, 2020 · 1 comment

Comments

@ryasmi
Copy link

ryasmi commented Feb 25, 2020

Please can you just upgrade xml-encryption to ^1.0.0 so that this works on Webpack? See related issue below.

auth0/node-xml-encryption#55

@breenie
Copy link

breenie commented Apr 1, 2021

I know this is a year old but I needed to do this. It's possible to make this work with webpack by using...

const CopyPlugin = require("copy-webpack-plugin");

module.exports = {
  node: {
    __dirname: false
  },
  plugins: [
    new CopyPlugin({
      patterns: [
        {
          from: "./node_modules/saml/lib/saml20.template",
          to: "./path/to/your/stuff"
        },
        {
          from: "./node_modules/saml/lib/saml11.template",
          to: "./path/to/your/stuff"
        }
      ]
    })
  ]
};

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants