updated npm modules

This commit is contained in:
2019-05-20 20:43:45 -05:00
parent 2319197b81
commit f166b72b7d
1113 changed files with 8758 additions and 12227 deletions

View File

@@ -1,27 +1,27 @@
{
"_from": "laravel-mix@4.0.14",
"_id": "laravel-mix@4.0.14",
"_from": "laravel-mix@4.0.15",
"_id": "laravel-mix@4.0.15",
"_inBundle": false,
"_integrity": "sha512-YvUl9LCn3n6jiJvoybahIcOgBVcsWM1ju5RWTtioXb4JkoNHQq0iHPR/eJVlqQpLVTZlvaJjbb9HsCylpZrDxQ==",
"_integrity": "sha512-i1o1HLeBkM/QVe4OhW+aBy0xcQuGq7moQadgSV4kcwiHYjbfpcb1FpcDZByU2HKkkPtwK5uy+O77nVQe24wGPw==",
"_location": "/laravel-mix",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "laravel-mix@4.0.14",
"raw": "laravel-mix@4.0.15",
"name": "laravel-mix",
"escapedName": "laravel-mix",
"rawSpec": "4.0.14",
"rawSpec": "4.0.15",
"saveSpec": null,
"fetchSpec": "4.0.14"
"fetchSpec": "4.0.15"
},
"_requiredBy": [
"#DEV:/",
"#USER"
],
"_resolved": "https://registry.npmjs.org/laravel-mix/-/laravel-mix-4.0.14.tgz",
"_shasum": "949374650d39f2c937257ad2749dab039b848f28",
"_spec": "laravel-mix@4.0.14",
"_resolved": "https://registry.npmjs.org/laravel-mix/-/laravel-mix-4.0.15.tgz",
"_shasum": "b8f1e07770d72b3206a6726cdb14142ae0ea5d50",
"_spec": "laravel-mix@4.0.15",
"_where": "C:\\xampp\\htdocs\\w4rpservices",
"author": {
"name": "Jeffrey Way"
@@ -128,5 +128,5 @@
"test": "nyc ava --verbose --serial",
"webpack": "NODE_ENV=development webpack --progress --hide-modules"
},
"version": "4.0.14"
"version": "4.0.15"
}

View File

@@ -101,7 +101,7 @@ class Extract {
createCacheGroup(extraction) {
const libsPattern = extraction.libs.join('|');
const pattern = new RegExp(`node_modules[\\\\/](${libsPattern})`, 'i');
const pattern = new RegExp(`(?<!node_modules.*)[\\\\/]node_modules[\\\\/](${libsPattern})[\\\\/]`, 'i');
return {
test: pattern,

View File

@@ -19,7 +19,7 @@ class Preprocessor {
webpackRules() {
let rules = [];
this.details.forEach(preprocessor => {
this.details.forEach((preprocessor, index) => {
let outputPath = preprocessor.output.filePath
.replace(Config.publicPath + path.sep, path.sep)
.replace(/\\/g, '/');
@@ -43,7 +43,7 @@ class Preprocessor {
Config.processCssUrls
? true
: Mix.isUsing('sourcemaps'),
ident: 'postcss',
ident: `postcss${index}`,
plugins: (function() {
let plugins = Config.postCss;

View File

@@ -24,7 +24,8 @@ class Vue {
webpackConfig(webpackConfig) {
webpackConfig.module.rules.push({
test: /\.vue$/,
loader: 'vue-loader'
loader: 'vue-loader',
options: Config.vue || {}
});
webpackConfig.plugins.push(new VueLoaderPlugin());