mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-11 15:16:55 +03:00
Adds support for maba/webpack-bundle
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"copy-from-recipe": {
|
||||
"assets/": "assets/"
|
||||
},
|
||||
"copy-from-package": {
|
||||
"src/Resources/defaultConfig/latest/package.json": "package.json",
|
||||
"src/Resources/defaultConfig/latest/webpack.config.js": "%CONFIG_DIR%/webpack.config.js"
|
||||
},
|
||||
"gitignore": [
|
||||
"/node_modules/"
|
||||
],
|
||||
"composer-scripts": {
|
||||
"maba:webpack:install-node-modules": "symfony-cmd"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
Run <info>maba:webpack:compile</info> to compile assets when deploying.
|
||||
|
||||
Always run <info>maba:webpack:dev-server</info> in dev environment.
|
||||
Reference in New Issue
Block a user