File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed
Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 11{
2- "name" : " 3d-contributions " ,
2+ "name" : " git-trophy " ,
33 "version" : " 1.0.0" ,
44 "description" : " 🖨 3D Print Your Github Contributions Chart" ,
55 "main" : " webpack.config.js" ,
1010 "lint" : " eslint src/" ,
1111 "lint:fix" : " eslint --fix src/" ,
1212 "profile" : " webpack --profile --json > webpack-stats.json" ,
13- "upload" : " s3-deploy ./public/** ./public/*/** ./public/img/*/** --cwd ./public/ --bucket gittrophy.com" ,
13+ "upload" : " s3-deploy ./public/** ./public/*/** ./public/img/*/** --cwd ./public/ --bucket gittrophy.com --cache 604800 " ,
1414 "deploy" : " npm run build:production && npm run upload"
1515 },
1616 "repository" : {
1717 "type" : " git" ,
18- "url" : " git+https://github.com/bcongdon/3d-contributions .git"
18+ "url" : " git+https://github.com/bcongdon/git-trophy .git"
1919 },
2020 "author" : " Benjamin Congdon" ,
2121 "license" : " MIT" ,
2222 "bugs" : {
23- "url" : " https://github.com/bcongdon/3d-contributions /issues"
23+ "url" : " https://github.com/bcongdon/git-trophy /issues"
2424 },
25- "homepage" : " https://github.com/bcongdon/3d-contributions #readme" ,
25+ "homepage" : " https://github.com/bcongdon/git-trophy #readme" ,
2626 "dependencies" : {
2727 "axios" : " ^0.16.2" ,
2828 "debounce" : " ^1.0.2" ,
Original file line number Diff line number Diff line change @@ -10,10 +10,6 @@ var google_analytics = process.env.NODE_ENV === 'production' ? fs.readFileSync('
1010
1111var config = {
1212 entry : APP_DIR + '/index.js' ,
13- output : {
14- path : BUILD_DIR ,
15- filename : 'bundle.js'
16- } ,
1713 module : {
1814 loaders : [
1915 {
@@ -33,6 +29,10 @@ var config = {
3329 filename : path . resolve ( __dirname , 'public' , 'index.html' )
3430 } )
3531 ] ,
32+ output : {
33+ path : BUILD_DIR ,
34+ filename : '[name].[chunkhash].js' ,
35+ } ,
3636 devServer : {
3737 contentBase : path . join ( __dirname , "public" ) ,
3838 publicPath : "/dist/" ,
You can’t perform that action at this time.
0 commit comments