Closed wegry closed 3 years ago
I made a mistake with arrays being passed into the policy portion.
This error looks like it's caused by
new CspHtmlWebpackPlugin({
nonceEnabled: {
'script-src': true,
'style-src': true
},
})
instead of having
new CspHtmlWebpackPlugin({}, {
nonceEnabled: {
'script-src': true,
'style-src': true
},
})
Description
Does this plugin not support yarn 2? With 5.1.0:
I'll try cooking up a minimal repro later.
What type of issue is this? (place an
x
in one of the[ ]
)Requirements (place an
x
in each of the[ ]
)Bug Report
Filling out the following details about bugs will help us solve your issue sooner.
Reproducible in:
slackhq/csp-html-webpack-plugin version:
node version:
OS version(s):
Steps to reproduce:
1. 2. 3.
Expected result:
What you expected to happen
Actual result:
What actually happened
Attachments:
Logs, screenshots, screencast, sample project, funny gif, etc.