mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
### What? Update terser to the latest version. ### Why? We need https://github.com/terser/terser/commit/c677e285261a0f115409a42015bd3664c8416534 which adds supports for class static blocks. ### How? Closes PACK-2285 Fixes #60837
12 lines
152 B
TypeScript
12 lines
152 B
TypeScript
class TestClass {
|
|
static text = 'hello world'
|
|
}
|
|
|
|
export default function Page() {
|
|
return (
|
|
<div>
|
|
<p>{TestClass.text}</p>
|
|
</div>
|
|
)
|
|
}
|