mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-06 16:06:28 +08:00
chore: 📦 enable ESBUILD for site again (#24657)
* 📦 enable ESBUILD for site again * re-enable ESBUILD 📦
This commit is contained in:
parent
18e3e42120
commit
b83c8636fa
2
.github/workflows/lighthouse-ci.yml
vendored
2
.github/workflows/lighthouse-ci.yml
vendored
@ -7,5 +7,5 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v1
|
||||||
- run: npm install && npm install -g @lhci/cli@0.4.x
|
- run: npm install && npm install -g @lhci/cli@0.4.x
|
||||||
- run: ESBUILD=1 npm run site
|
- run: npm run site
|
||||||
- run: lhci autorun --upload.target=temporary-public-storage
|
- run: lhci autorun --upload.target=temporary-public-storage
|
||||||
|
@ -417,7 +417,6 @@ Array [
|
|||||||
Disabled
|
Disabled
|
||||||
</span>
|
</span>
|
||||||
</label>,
|
</label>,
|
||||||
<br />,
|
|
||||||
<label
|
<label
|
||||||
class="ant-radio-wrapper ant-radio-wrapper-disabled"
|
class="ant-radio-wrapper ant-radio-wrapper-disabled"
|
||||||
>
|
>
|
||||||
@ -438,9 +437,10 @@ Array [
|
|||||||
Disabled
|
Disabled
|
||||||
</span>
|
</span>
|
||||||
</label>,
|
</label>,
|
||||||
|
<br />,
|
||||||
<button
|
<button
|
||||||
class="ant-btn ant-btn-primary"
|
class="ant-btn ant-btn-primary"
|
||||||
style="margin-top:20px"
|
style="margin-top:16px"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
<span>
|
<span>
|
||||||
|
@ -33,11 +33,11 @@ class App extends React.Component {
|
|||||||
<Radio defaultChecked={false} disabled={this.state.disabled}>
|
<Radio defaultChecked={false} disabled={this.state.disabled}>
|
||||||
Disabled
|
Disabled
|
||||||
</Radio>
|
</Radio>
|
||||||
<br />
|
|
||||||
<Radio defaultChecked disabled={this.state.disabled}>
|
<Radio defaultChecked disabled={this.state.disabled}>
|
||||||
Disabled
|
Disabled
|
||||||
</Radio>
|
</Radio>
|
||||||
<Button type="primary" onClick={this.toggleDisabled} style={{ marginTop: 20 }}>
|
<br />
|
||||||
|
<Button type="primary" onClick={this.toggleDisabled} style={{ marginTop: 16 }}>
|
||||||
Toggle disabled
|
Toggle disabled
|
||||||
</Button>
|
</Button>
|
||||||
</>
|
</>
|
||||||
|
@ -78,7 +78,7 @@
|
|||||||
"pretty-quick": "pretty-quick",
|
"pretty-quick": "pretty-quick",
|
||||||
"pub": "npm run version && antd-tools run pub",
|
"pub": "npm run version && antd-tools run pub",
|
||||||
"prepublishOnly": "antd-tools run guard",
|
"prepublishOnly": "antd-tools run guard",
|
||||||
"site": "cross-env NODE_ICU_DATA=node_modules/full-icu concurrently \"bisheng build --ssr -c ./site/bisheng.config.js\" \"npm run color-less\"",
|
"site": "cross-env NODE_ICU_DATA=node_modules/full-icu ESBUILD=1 concurrently \"bisheng build --ssr -c ./site/bisheng.config.js\" \"npm run color-less\"",
|
||||||
"sort": "npx sort-package-json",
|
"sort": "npx sort-package-json",
|
||||||
"sort-api": "antd-tools run sort-api-table",
|
"sort-api": "antd-tools run sort-api-table",
|
||||||
"start": "antd-tools run clean && cross-env NODE_ENV=development concurrently \"npm run color-less\" \"bisheng start -c ./site/bisheng.config.js\"",
|
"start": "antd-tools run clean && cross-env NODE_ENV=development concurrently \"npm run color-less\" \"bisheng start -c ./site/bisheng.config.js\"",
|
||||||
|
@ -108,7 +108,9 @@ class MainContent extends Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
componentWillUnmount() {
|
componentWillUnmount() {
|
||||||
this.scroller.destroy();
|
if (this.scroller) {
|
||||||
|
this.scroller.destroy();
|
||||||
|
}
|
||||||
window.removeEventListener('load', this.handleInitialHashOnLoad);
|
window.removeEventListener('load', this.handleInitialHashOnLoad);
|
||||||
window.removeEventListener('hashchange', this.handleHashChange);
|
window.removeEventListener('hashchange', this.handleHashChange);
|
||||||
clearTimeout(this.timeout);
|
clearTimeout(this.timeout);
|
||||||
|
Loading…
Reference in New Issue
Block a user