Skip to content

Instantly share code, notes, and snippets.

@iateadonut
Created April 21, 2017 03:55
Show Gist options
  • Save iateadonut/4d5c87cf8b57eb832ba089a1121e56d7 to your computer and use it in GitHub Desktop.
Save iateadonut/4d5c87cf8b57eb832ba089a1121e56d7 to your computer and use it in GitHub Desktop.
webpack.mix.js
mix.js('resources/assets/js/app.js', 'public/js')
.extract(["axios", "bootstrap-sass", "jquery", "laravel-mix", "lodash", "vue", "bootstrap-formhelpers"])
.sass('resources/assets/sass/app.scss', 'public/css');
package.json
{
"private": true,
"scripts": {
"dev": "node node_modules/cross-env/dist/bin/cross-env.js NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
"watch": "node node_modules/cross-env/dist/bin/cross-env.js NODE_ENV=development node_modules/webpack/bin/webpack.js --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
"watch-poll": "node node_modules/cross-env/dist/bin/cross-env.js NODE_ENV=development node_modules/webpack/bin/webpack.js --watch --watch-poll --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
"hot": "node node_modules/cross-env/dist/bin/cross-env.js NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js",
"production": "node node_modules/cross-env/dist/bin/cross-env.js NODE_ENV=production node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js"
},
"devDependencies": {
"axios": "^0.15.3",
"bootstrap-sass": "^3.3.7",
"jquery": "^3.1.1",
"laravel-mix": "^0.8.1",
"lodash": "^4.17.4",
"vue": "^2.1.10"
},
"dependencies": {
"bootstrap-formhelpers": "git+https://github.com/vlamanna/BootstrapFormHelpers.git",
"child_process": "^1.0.2",
"fs": "0.0.1-security",
"module": "^1.2.5",
"net": "^1.0.2",
"readline": "^1.3.0"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment