imatrix-ui 2.9.0-dw-tmp3 → 2.9.0-dw-tmp5

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.
package/.babelrc CHANGED
@@ -13,5 +13,28 @@
13
13
  ],
14
14
  "plugins": [
15
15
  "@babel/plugin-transform-runtime",
16
+ ["component", {
17
+ "libraryName": "imatrix-ui",
18
+ "libDir": "lib",
19
+ "styleLibrary": {
20
+ "name": "styles",
21
+ "base": false, // no base.css file
22
+ "path": "[module].css"
23
+ }
24
+ }]
16
25
  ]
17
- }
26
+ }
27
+
28
+ // {
29
+ // "plugins": [
30
+ // ["component", {
31
+ // "libraryName": "imatrix-ui",
32
+ // "libDir": "lib",
33
+ // "styleLibrary": {
34
+ // "name": "styles",
35
+ // "base": false, // no base.css file
36
+ // "path": "[module].css"
37
+ // }
38
+ // }]
39
+ // ]
40
+ // }
@@ -14,8 +14,8 @@ module.exports = merge(webpackBaseConfig, {
14
14
  output: {
15
15
  path: path.resolve(__dirname, '../lib'),
16
16
  publicPath: '/lib/',
17
- filename: 'super-ui.min.js', // 改成自己的类库名
18
- library: 'super-ui', // 类库导出
17
+ filename: 'imatrix-ui.min.js', // 改成自己的类库名
18
+ library: 'imatrix-ui', // 类库导出
19
19
  libraryTarget: 'umd',
20
20
  umdNamedDefine: true
21
21
  },