DEV: Do not remove `debugger` statements from themes (#18814)

This commit is contained in:
David Taylor 2022-11-01 13:56:33 +00:00 committed by GitHub
parent 02304cae83
commit 695b44269b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -6,7 +6,7 @@ require 'json_schemer'
class Theme < ActiveRecord::Base
include GlobalPath
BASE_COMPILER_VERSION = 66
BASE_COMPILER_VERSION = 67
attr_accessor :child_components

View File

@ -52,6 +52,7 @@ class ThemeJavascriptCompiler
compress: {
negate_iife: false,
sequences: 30,
drop_debugger: false,
},
output: {
semicolons: false,