Update webpack config to match newest webpacker gem

This commit is contained in:
Sebastian Serth
2020-12-01 17:58:33 +01:00
parent d58b49f71f
commit f201804486
12 changed files with 142 additions and 142 deletions

View File

@ -11,6 +11,11 @@
# policy.object_src :none
# policy.script_src :self, :https
# policy.style_src :self, :https
#
# # You need to allow webpack-dev-server host as allowed origin for connect-src.
# # This can be done in Rails 5.2+ for development environment in the CSP initializer
# # config/initializers/content_security_policy.rb with a snippet like this:
# policy.connect_src :self, :https, "http://localhost:3035", "ws://localhost:3035" if Rails.env.development?
# # Specify URI for violation reports
# # policy.report_uri "/csp-violation-report-endpoint"