Skip to content

Commit

Permalink
Fixed TypeError: MiniCssExtractPlugin is not a constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
akunzai committed Jan 15, 2022
1 parent c2516f5 commit 6e9701b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const { default: MiniCssExtractPlugin } = require('mini-css-extract-plugin');
const path = require('path');
const webpack = require('webpack');
const sveltePreprocess = require('svelte-preprocess');
Expand Down

0 comments on commit 6e9701b

Please sign in to comment.