mirror of
https://github.com/scratchfoundation/scratch-render-fonts.git
synced 2024-11-14 19:34:57 -05:00
Move entry to src/index
Our webpack/babel configs require the src/ structure for source files
This commit is contained in:
parent
f4a33b6c12
commit
39df53fad3
3 changed files with 2 additions and 2 deletions
|
@ -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",
|
||||
|
|
|
@ -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: [{
|
||||
|
|
Loading…
Reference in a new issue