Skip to content

Commit

Permalink
fix(initialize): updating no-emit-webpack-plugin dependency pattern-l…
Browse files Browse the repository at this point in the history
…ab#1348 (pattern-lab#1349)

The installation of the no-emit-webpack-plugin@1 dependency results in a freeze during installation.
  • Loading branch information
mfranzke authored Sep 16, 2021
1 parent 3aea21d commit 08d5fc1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
1 change: 0 additions & 1 deletion packages/uikit-workshop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@
"lit-html": "^1.1.2",
"mini-css-extract-plugin": "^0.8.0",
"mousetrap": "^1.6.5",
"no-emit-webpack-plugin": "^1.0.0",
"node-sass": "^6.0.0",
"node-sass-selector-importer": "^5.2.0",
"postcss-loader": "^3.0.0",
Expand Down
7 changes: 1 addition & 6 deletions packages/uikit-workshop/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
const CleanWebpackPlugin = require('clean-webpack-plugin');
const HardSourceWebpackPlugin = require('hard-source-webpack-plugin-patch');
const TerserPlugin = require('terser-webpack-plugin');
const NoEmitPlugin = require('no-emit-webpack-plugin');
const autoprefixer = require('autoprefixer');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
Expand Down Expand Up @@ -255,11 +254,7 @@ module.exports = function (apiConfig) {
]
: [],
},
plugins: [
new WebpackBar(),
new CopyPlugin(config.copy),
new NoEmitPlugin(['css/pattern-lab.js']),
],
plugins: [new WebpackBar(), new CopyPlugin(config.copy)],
};

webpackConfig.plugins.push(
Expand Down

0 comments on commit 08d5fc1

Please sign in to comment.