Skip to content

Commit 090c5d7

Browse files
committed
1 parent e4e40ce commit 090c5d7

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

package.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "rc-notification",
3-
"version": "2.0.2",
3+
"version": "2.0.3",
44
"description": "notification ui component for react",
55
"keywords": [
66
"react",
@@ -29,7 +29,13 @@
2929
"main": "lib/index",
3030
"module": "es/index",
3131
"config": {
32-
"port": 8000
32+
"port": 8000,
33+
"entry": {
34+
"rc-notification": [
35+
"./assets/index.less",
36+
"./src/index.js"
37+
]
38+
}
3339
},
3440
"scripts": {
3541
"build": "rc-tools run build",

tests/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from 'react';
22
import TestUtils from 'react-dom/test-utils';
33
import expect from 'expect.js';
44

5-
import Notification from '../';
5+
import Notification from '../src/';
66

77
require('../assets/index.less');
88

0 commit comments

Comments
 (0)