Skip to content

Commit eccb7a2

Browse files
committed
update packages and change to using parcel to build prod files
1 parent 313bfa7 commit eccb7a2

File tree

7 files changed

+13695
-6592
lines changed

7 files changed

+13695
-6592
lines changed

.babelrc

Lines changed: 0 additions & 3 deletions
This file was deleted.

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ node_modules/
22
dist/
33
.idea/
44
.DS_Store
5-
.cache/
5+
.parcel-cache/

.npmignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ src/
55
readMeMedia/
66
.eslintrc
77
package-lock.json
8-
.cache
98
node_modules/
10-
dist/
9+
dist/
10+
.parcel-cache/

demo/App.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import styled, {createGlobalStyle} from 'styled-components'
66
const Container = styled.div`
77
top: 0;
88
left: 0;
9-
height: 120%
9+
height: 120%;
1010
margin: 0px auto;
1111
max-width: 960px;
1212
`
@@ -116,7 +116,7 @@ class App extends Component {
116116
<br />
117117
<div>
118118
<p>Use custom regEx</p>
119-
<div style={{'textAlign': 'left', 'margin': 'auto', 'width': '160px'}}>
119+
<div style={{'textAlign': 'left', 'margin': 'auto', 'width': '200px'}}>
120120
<input type='radio' name='regexp' value='^[0-9]$' onChange={this.handleRegExChange} />/^[0-9]$/
121121
<br />
122122
<input type='radio' name='regexp' value='^[a-z]$' onChange={this.handleRegExChange} />/^[a-z]$/

demo/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99

1010
<body>
1111
<div id="root">not rendered</div>
12-
<script src="./index.js"></script>
12+
<script type="module" src="./index.js"></script>
1313
</body>
1414
</html>

0 commit comments

Comments
 (0)