File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 1
1
/**
2
2
* @license
3
- * Copyright 2018 Google Inc.
3
+ * Copyright 2018 Google LLC
4
4
*
5
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
6
* you may not use this file except in compliance with the License.
@@ -105,6 +105,11 @@ const es5BuildPlugins = [
105
105
transformers : appendPrivatePrefixTransformers ,
106
106
cacheRoot : `./.cache/es5.mangled/`
107
107
} ) ,
108
+ {
109
+ transform ( code , id ) {
110
+ return code . replace ( / \/ \* \* @ c l a s s \* \/ / g, "\/*@__PURE__*\/" ) ;
111
+ }
112
+ } ,
108
113
json ( ) ,
109
114
terser ( manglePrivatePropertiesOptions )
110
115
] ;
@@ -152,7 +157,7 @@ const browserBuilds = [
152
157
format : 'es' ,
153
158
sourcemap : true
154
159
} ,
155
- plugins : es5BuildPlugins ,
160
+ plugins : es2017BuildPlugins ,
156
161
external : resolveBrowserExterns
157
162
} ,
158
163
// ES2017 ESM build (memory-only)
You can’t perform that action at this time.
0 commit comments