Skip to content
This repository was archived by the owner on Nov 3, 2026. It is now read-only.
This repository was archived by the owner on Nov 3, 2026. It is now read-only.

Not working on Webpack  #62

Open

Description

@ryasmi

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

Activity

  1. breenie commented on Apr 1, 2021

    @breenie

    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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions