Commit ad7f7dbc authored by John Long's avatar John Long

Add webpack

parent 0c5cea71
/dependencies/node_modules
/dependencies/vendor
/public/bundle.js
.env
......@@ -7,3 +7,4 @@ php:7.0:
- composer install -d dependencies
- composer test -d dependencies
- composer style -d dependencies
- composer webpack -d dependencies
......@@ -36,7 +36,10 @@
"phpunit -c ../tests/phpunit.xml"
],
"style": [
"phpcs --standard=psr2 --ignore=vendor --ignore=*.blade.php --ignore=database/migrations --ignore=storage/framework --report-width=120 .."
"phpcs --standard=psr2 --ignore=../public/bundle.js --ignore=node_modules --ignore=vendor --ignore=*.blade.php --ignore=database/migrations --ignore=storage/framework --report-width=120 .."
],
"webpack": [
"./node_modules/.bin/webpack"
]
},
"minimum-stability": "dev",
......
{
"private": true,
"devDependencies": {
"webpack": "^2.2.0"
}
}
module.exports = {
entry: '../resources/js/app.js',
output: {
filename: '../public/bundle.js'
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment