@douyinfe/semi-next 2.60.1 → 2.61.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +3 -3
  2. package/README.md +0 -35
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@douyinfe/semi-next",
3
- "version": "2.60.1",
3
+ "version": "2.61.0-alpha.1",
4
4
  "description": "Plugin that support Semi Design in Next.js",
5
5
  "author": "伍浩威 <wuhaowei.whw@bytedance.com>",
6
6
  "homepage": "",
@@ -23,7 +23,7 @@
23
23
  "typescript": "^4"
24
24
  },
25
25
  "dependencies": {
26
- "@douyinfe/semi-webpack-plugin": "2.60.1"
26
+ "@douyinfe/semi-webpack-plugin": "2.61.0-alpha.1"
27
27
  },
28
- "gitHead": "9339ff83a2e2c141f7152b56dd544fe7576d667d"
28
+ "gitHead": "ba06de12d059c24363f1ef151dbf4076ea3969a5"
29
29
  }
package/README.md DELETED
@@ -1,35 +0,0 @@
1
- > A Next.js extension for Semi Design.
2
-
3
- Because Next.js does not support the global introduction of css in third-party code, but semi does. In order to support Next.js, it is necessary to exclude the css reference in the semi code at compile time.
4
-
5
- ## Installation
6
- Install `@douyinfe/semi-next` as a development dependency:
7
-
8
- ``` shell
9
- npm install --save-dev @douyinfe/semi-next
10
- # or
11
- yarn add --dev @douyinfe/semi-next
12
- ```
13
-
14
- ## Usage
15
-
16
- Create a `next.config.js` in your project.
17
-
18
- ``` js
19
- // next.config.js
20
-
21
- const semi = require('@douyinfe/semi-next').default({/* the extension options */});
22
- module.exports = semi({
23
- // your custom Next.js configuration
24
- });
25
- ```
26
-
27
- ## Options
28
-
29
- ### options.omitCss
30
-
31
- Type: `Boolean`
32
-
33
- Default: `true`
34
-
35
- In the compilation phase, whether to exclude css references.Used to solve the problem that Next.js does not support the global introduction of css in third-party code.See this [discussion](https://github.com/vercel/next.js/discussions/27953).