diff --git a/.gitattributes b/.gitattributes index baed88b4..bf621499 100644 --- a/.gitattributes +++ b/.gitattributes @@ -6,6 +6,9 @@ *.md diff=markdown *.php diff=php +public/*.css binary +public/*.js binary + /.github export-ignore /tests export-ignore .gitattributes export-ignore diff --git a/webpack.mix.js b/webpack.mix.js index 9b9a8eb5..25676717 100644 --- a/webpack.mix.js +++ b/webpack.mix.js @@ -36,5 +36,10 @@ mix.options({ '@': path.resolve(__dirname, 'resources/js/'), }, }, - plugins: [new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/)], + plugins: [ + new webpack.IgnorePlugin({ + resourceRegExp: /^\.\/locale$/, + contextRegExp: /moment$/, + }), + ], });