Skip to content

Commit f3d1a8f

Browse files
committed
Source code minification. Changes to file structure. Ready to publish as npm package
1 parent 4a7280d commit f3d1a8f

File tree

13 files changed

+247
-87
lines changed

13 files changed

+247
-87
lines changed

.babelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"presets": [
3-
"@babel/env",
3+
["@babel/env",{ "modules": false }],
44
"@babel/react"
55
]
66
}

.npmignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# .npmignore
2+
source
3+
index.html
4+
.babelrc
5+
.gitignore
6+
webpack.config.js

build/index.js

Lines changed: 53 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
</head>
99
<body>
1010
<div id="root"></div>
11-
<script src="/assets/js/bundle_home.js"></script>
11+
<script src="/index.js"></script>
1212
</body>
1313
</html>

0 commit comments

Comments
 (0)