Skip to content

Commit 39df53f

Browse files
committed
Move entry to src/index
Our webpack/babel configs require the src/ structure for source files
1 parent f4a33b6 commit 39df53f

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "scratch-render-fonts",
33
"version": "1.0.0",
44
"description": "",
5-
"main": "./fonts.js",
5+
"main": "./src/index.js",
66
"author": "Massachusetts Institute of Technology",
77
"repository": {
88
"type": "git",

fonts.js renamed to src/index.js

File renamed without changes.

webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const base = {
55
mode: process.env.NODE_ENV === 'production' ? 'production' : 'development',
66
devtool: 'cheap-module-source-map',
77
entry: {
8-
'scratch-render-fonts': './fonts.js'
8+
'scratch-render-fonts': './src/index.js'
99
},
1010
module: {
1111
rules: [{

0 commit comments

Comments
 (0)