Skip to content

Commit 8845dd4

Browse files
authored
feat: support generate static css for SSR usage to generate raw css file for caching (#1)
* feat: initial commit * feat: update doc * feat: update doc * feat: optimize code * feat: optimize code * feat: optimize code * feat: replace style tag
1 parent 25cd5fc commit 8845dd4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+162
-5471
lines changed

.dumirc.ts

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,10 @@
11
import { defineConfig } from 'dumi';
2-
import path from 'path';
32

43
export default defineConfig({
5-
alias: {
6-
'rc-trigger$': path.resolve('src'),
7-
'rc-trigger/es': path.resolve('src'),
8-
},
94
mfsu: false,
105
favicons: ['https://avatars0.githubusercontent.com/u/9441414?s=200&v=4'],
116
themeConfig: {
12-
name: 'Trigger',
7+
name: 'Static-Style-Extract',
138
logo: 'https://avatars0.githubusercontent.com/u/9441414?s=200&v=4',
149
},
15-
styles: [
16-
`
17-
.dumi-default-previewer-demo {
18-
position: relative;
19-
min-height: 300px;
20-
}
21-
`,
22-
]
2310
});

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ es
2727
coverage
2828
yarn.lock
2929
package-lock.json
30+
pnpm-lock.yaml
3031

3132
# dumi
3233
.umi

HISTORY.md

Lines changed: 2 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,6 @@
11
# History
22
----
33

4-
## 4.1.0 / 2020-05-08
4+
## 0.0.1 / 2023-03-07
55

6-
- upgrade rc-animate to `3.x`
7-
8-
## 2.5.0 / 2018-06-05
9-
10-
- support `alignPoint`
11-
12-
## 2.1.0 / 2017-10-16
13-
14-
- add action `contextMenu`
15-
16-
## 2.0.0 / 2017-09-25
17-
18-
- support React 16
19-
20-
## 1.11.0 / 2017-06-07
21-
22-
- add es
23-
24-
## 1.9.0 / 2017-02-27
25-
26-
- add getDocument prop
27-
28-
## 1.8.2 / 2017-02-24
29-
30-
- change default container to absolute to fix scrollbar change problem
31-
32-
## 1.7.0 / 2016-07-18
33-
34-
- use getContainerRenderMixin from 'rc-util'
35-
36-
## 1.6.0 / 2016-05-26
37-
38-
- support popup as function
39-
40-
## 1.5.0 / 2016-05-26
41-
42-
- add forcePopupAlign method
43-
44-
## 1.4.0 / 2016-04-06
45-
46-
- support onPopupAlign
47-
48-
## 1.3.0 / 2016-03-25
49-
50-
- support mask/maskTransitionName/zIndex
51-
52-
## 1.2.0 / 2016-03-01
53-
54-
- add showAction/hideAction
55-
56-
## 1.1.0 / 2016-01-06
57-
58-
- add root trigger node as parameter of getPopupContainer
6+
- feat: initial commit

0 commit comments

Comments
 (0)