Skip to content

Commit

Permalink
add missing babel pluguins
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabian Stoehr committed Aug 1, 2024
1 parent 890b6f1 commit e5d1dcd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"@babel/plugin-proposal-private-methods": "^7.18.6",
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@babel/plugin-transform-runtime": "^7.24.7",
"@babel/plugin-transform-regenerator": "^7.16.7",
"@babel/preset-env": "^7.16.11",
"@babel/preset-react": "^7.16.7",
"@mui/material": "^5.x",
Expand Down
6 changes: 3 additions & 3 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ const path = require('path');
const fs = require('fs');
const webpack = require('webpack');
const TerserPlugin = require('terser-webpack-plugin');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const ReactRefreshWebpackPlugin = require('@pmmmwh/react-refresh-webpack-plugin');
const HtmlWebpackPlugin = require('html-webpack-plugin');

/** */
const baseConfig = (mode) => ({
Expand Down Expand Up @@ -36,9 +36,9 @@ const baseConfig = (mode) => ({
],
},
output: {
filename: 'mirador-dl-plugin.js',
filename: 'mirador-image-tools.js',
hashFunction: 'md5',
library: 'MiradorDlPlugin',
library: 'MiradorImageTools',
libraryExport: 'default',
libraryTarget: 'umd',
path: path.join(__dirname, 'umd'),
Expand Down

0 comments on commit e5d1dcd

Please sign in to comment.