Skip to content

Commit 70882e3

Browse files
committed
Disable scope hoisting until webpack bug is fixed
1 parent e0730fa commit 70882e3

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "laravel-mix",
3-
"version": "1.0.4",
3+
"version": "1.0.5",
44
"description": "Laravel Mix is an elegant wrapper around Webpack for the 80% use case.",
55
"main": "src/index.js",
66
"scripts": {

src/builder/webpack-plugins.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,10 @@ module.exports = function () {
2424

2525

2626
// Add support for webpack 3 scope hoisting.
27-
plugins.push(
28-
new webpack.optimize.ModuleConcatenationPlugin()
29-
);
27+
// Current disabled due to: https://github.com/webpack/webpack/issues/5132
28+
// plugins.push(
29+
// new webpack.optimize.ModuleConcatenationPlugin()
30+
// );
3031

3132

3233
// Activate support for Mix_ .env definitions.

0 commit comments

Comments
 (0)