Skip to content
This repository has been archived by the owner on May 19, 2020. It is now read-only.

Commit

Permalink
fix(webpack) Ignore jsdom
Browse files Browse the repository at this point in the history
Signed-off-by: Jerome Simeon <[email protected]>
  • Loading branch information
jeromesimeon committed Dec 10, 2019
1 parent 415a6f2 commit 212bce4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
const { CleanWebpackPlugin } = require('clean-webpack-plugin');
const webpack = require('webpack');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const path = require('path');
Expand Down Expand Up @@ -76,6 +77,7 @@ module.exports = {
title: 'YES',
}),
new CleanWebpackPlugin(),
new webpack.IgnorePlugin(/jsdom$/),
],
node: {
fs: 'empty',
Expand Down
2 changes: 2 additions & 0 deletions webpack.config.prod.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
const { CleanWebpackPlugin } = require('clean-webpack-plugin');
const webpack = require('webpack');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const path = require('path');
Expand Down Expand Up @@ -83,6 +84,7 @@ module.exports = {
title: 'YES',
}),
new CleanWebpackPlugin(),
new webpack.IgnorePlugin(/jsdom$/),
],
node: {
fs: 'empty',
Expand Down

0 comments on commit 212bce4

Please sign in to comment.