Open ryasmi opened 4 years ago
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"
}
]
})
]
};
Please can you just upgrade
xml-encryption
to^1.0.0
so that this works on Webpack? See related issue below.https://github.com/auth0/node-xml-encryption/issues/55