Files
symfony-flex-recipes/archived/symfony.webpack-encore-pack/bbc090f73bcda30eeb4b9ff702ce2a466c1d9e64.json
T
github-action[bot]andgithub-action[bot] a5298a919f Update Flex archives
2021-12-18 17:20:12 +00:00

73 lines
3.1 KiB
JSON

{
"manifests": {
"symfony/webpack-encore-pack": {
"manifest": {
"copy-from-recipe": {
"assets/": "assets/",
"package.json": "package.json",
"webpack.config.js": "webpack.config.js"
},
"gitignore": [
"/node_modules/"
]
},
"files": {
"assets/.gitignore": {
"contents": [
""
],
"executable": false
},
"package.json": {
"contents": [
"{",
" \"devDependencies\": {",
" \"@symfony/webpack-encore\": \"^0.12.0\"",
" },",
" \"scripts\": {",
" \"dev-server\": \"encore dev-server\",",
" \"dev\": \"encore dev\",",
" \"watch\": \"encore dev --watch\",",
" \"build\": \"encore production\"",
" }",
"}",
""
],
"executable": false
},
"webpack.config.js": {
"contents": [
"var Encore = require('@symfony/webpack-encore');",
"",
"Encore",
" // the project directory where compiled assets will be stored",
" .setOutputPath('public/build/')",
" // the public path used by the web server to access the previous directory",
" .setPublicPath('/build')",
" .cleanupOutputBeforeBuild()",
" .enableSourceMaps(!Encore.isProduction())",
" // uncomment to create hashed filenames (e.g. app.abc123.css)",
" // .enableVersioning(Encore.isProduction())",
"",
" // uncomment to define the assets of the project",
" // .addEntry('js/app', './assets/js/app.js')",
" // .addStyleEntry('css/app', './assets/css/app.scss')",
"",
" // uncomment if you use Sass/SCSS files",
" // .enableSassLoader()",
"",
" // uncomment for legacy applications that require $/jQuery as a global variable",
" // .autoProvidejQuery()",
";",
"",
"module.exports = Encore.getWebpackConfig();",
""
],
"executable": false
}
},
"ref": "bbc090f73bcda30eeb4b9ff702ce2a466c1d9e64"
}
}
}