Move entry to src/index

Our webpack/babel configs require the src/ structure for source files
This commit is contained in:
Paul Kaplan 2018-06-05 09:01:49 -04:00
parent f4a33b6c12
commit 39df53fad3
3 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@
"name": "scratch-render-fonts",
"version": "1.0.0",
"description": "",
"main": "./fonts.js",
"main": "./src/index.js",
"author": "Massachusetts Institute of Technology",
"repository": {
"type": "git",

View file

@ -5,7 +5,7 @@ const base = {
mode: process.env.NODE_ENV === 'production' ? 'production' : 'development',
devtool: 'cheap-module-source-map',
entry: {
'scratch-render-fonts': './fonts.js'
'scratch-render-fonts': './src/index.js'
},
module: {
rules: [{