Skip to content

Commit 499bb9f

Browse files
authored
Merge pull request #16 from InteractionDesignFoundation/update-laravel-mix
Update laravel mix
2 parents edb88bd + bcd0bbc commit 499bb9f

File tree

5 files changed

+28
-11
lines changed

5 files changed

+28
-11
lines changed

dist/js/field.js

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js/field.js.LICENSE.txt

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/*!
2+
* Determine if an object is a Buffer
3+
*
4+
* @author Feross Aboukhadijeh <https://feross.org>
5+
* @license MIT
6+
*/
7+
8+
/**
9+
* @license
10+
* Lodash <https://lodash.com/>
11+
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
12+
* Released under MIT license <https://lodash.com/license>
13+
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
14+
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
15+
*/

dist/mix-manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"/js/field.js": "/js/field.js?id=b619a4c6edad69a46dea"
3-
}
2+
"/js/field.js": "/js/field.js?id=6fb3f72c7d031abeabce"
3+
}

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@
55
},
66
"scripts": {
77
"dev": "npm run development",
8-
"development": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
9-
"watch": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
10-
"watch-poll": "npm run watch -- --watch-poll",
11-
"hot": "cross-env NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js",
8+
"development": "mix",
9+
"watch": "mix watch",
10+
"hot": "mix watch --hot",
1211
"prod": "npm run production",
13-
"production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js"
12+
"production": "mix --production"
1413
},
1514
"devDependencies": {
16-
"cross-env": "^5.0.0",
17-
"laravel-mix": "^1.0",
18-
"laravel-nova": "^1.0"
15+
"laravel-mix": "^6.0.41",
16+
"laravel-nova": "^1.0",
17+
"vue-loader": "^15.9.8",
18+
"vue-template-compiler": "^2.6.14"
1919
},
2020
"dependencies": {
2121
"vue": "^2.5.0"

webpack.mix.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ let mix = require('laravel-mix')
33
mix
44
.setPublicPath('dist')
55
.js('resources/js/field.js', 'js')
6+
.vue();
67

78
if (mix.inProduction()) {
89
mix.version();

0 commit comments

Comments
 (0)