Skip to content

Commit

Permalink
updated yarn, encore bundle, fixed deprecations (#60)
Browse files Browse the repository at this point in the history
* updated yarn, encore bundle, fixed deprecations

* added blank lines
  • Loading branch information
Silas Joisten authored Jul 23, 2019
1 parent bde4c03 commit e38891f
Show file tree
Hide file tree
Showing 6 changed files with 4,053 additions and 2,731 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"dm-file-uploader": "^1.0.2"
},
"devDependencies": {
"@symfony/webpack-encore": "^0.20.1",
"@symfony/webpack-encore": "^0.27.0",
"node-sass": "^4.9.0",
"sass-loader": "^7.0.1"
},
Expand Down
12 changes: 12 additions & 0 deletions src/Resources/public/dist/entrypoints.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"entrypoints": {
"sonata-multiupload": {
"css": [
"/sonata-multiupload.css"
],
"js": [
"/sonata-multiupload.js"
]
}
}
}
6 changes: 3 additions & 3 deletions src/Resources/public/dist/manifest.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"sonata-multiupload.js": "/sonata-multiupload.js",
"sonata-multiupload.css": "/sonata-multiupload.css"
}
"sonata-multiupload.css": "/sonata-multiupload.css",
"sonata-multiupload.js": "/sonata-multiupload.js"
}
15 changes: 13 additions & 2 deletions src/Resources/public/dist/sonata-multiupload.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Encore
.enableSourceMaps(!Encore.isProduction())
// uncomment to create hashed filenames (e.g. app.abc123.css)
// .enableVersioning(Encore.isProduction())

.disableSingleRuntimeChunk()
// uncomment to define the assets of the project
.addEntry('sonata-multiupload', './src/Resources/public/js/app.js')

Expand Down
Loading

0 comments on commit e38891f

Please sign in to comment.