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",
|
"name": "scratch-render-fonts",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "./fonts.js",
|
"main": "./src/index.js",
|
||||||
"author": "Massachusetts Institute of Technology",
|
"author": "Massachusetts Institute of Technology",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
|
@ -5,7 +5,7 @@ const base = {
|
||||||
mode: process.env.NODE_ENV === 'production' ? 'production' : 'development',
|
mode: process.env.NODE_ENV === 'production' ? 'production' : 'development',
|
||||||
devtool: 'cheap-module-source-map',
|
devtool: 'cheap-module-source-map',
|
||||||
entry: {
|
entry: {
|
||||||
'scratch-render-fonts': './fonts.js'
|
'scratch-render-fonts': './src/index.js'
|
||||||
},
|
},
|
||||||
module: {
|
module: {
|
||||||
rules: [{
|
rules: [{
|
||||||
|
|
Loading…
Reference in a new issue