File tree Expand file tree Collapse file tree 2 files changed +14
-21
lines changed
Expand file tree Collapse file tree 2 files changed +14
-21
lines changed Original file line number Diff line number Diff line change 99 node-version : [12.x]
1010 os : [ubuntu-latest]
1111 steps :
12- - uses : actions/checkout@v1
13- - name : Use Node.js ${{ matrix.node_version }}
14- uses : actions/setup-node@v1
15- with :
16- node-version : ${{ matrix.node_version }}
17- - name : npm install, build, and test
18- run : |
19- npm install
20- npm run test
21- env :
22- CI : true
12+ - uses : actions/checkout@v1
13+ - name : Use Node.js ${{ matrix.node_version }}
14+ uses : actions/setup-node@v1
15+ with :
16+ node-version : ${{ matrix.node_version }}
17+ - name : npm install, build, and test
18+ run : |
19+ npm install
20+ npm run test
21+ env :
22+ CI : true
Original file line number Diff line number Diff line change @@ -7,26 +7,19 @@ module.exports = {
77 output : {
88 filename : "index.js" ,
99 path : path . resolve ( __dirname , "build" ) ,
10- library : "MyLibrary " ,
10+ library : "react-default-memo " ,
1111 libraryTarget : "umd" ,
1212 } ,
13+ devtool : "source-map" ,
1314 module : {
1415 rules : [
1516 {
1617 test : / \. m ? j s $ / ,
17- exclude : / ( n o d e _ m o d u l e s | b o w e r _ c o m p o n e n t s ) / ,
18+ exclude : / ( n o d e _ m o d u l e s ) / ,
1819 use : {
1920 loader : "babel-loader" ,
2021 } ,
2122 } ,
22- {
23- test : / \. c s s $ / i,
24- use : [ "style-loader" , "css-loader" ] ,
25- } ,
26- {
27- test : / \. ( p n g | j p e ? g | g i f | s v g | e o t | t t f | w o f f | w o f f 2 ) $ / ,
28- use : [ "url-loader" ] ,
29- } ,
3023 ] ,
3124 } ,
3225 plugins : [ new PrettierPlugin ( ) ] ,
You can’t perform that action at this time.
0 commit comments