Skip to content

Commit

Permalink
Fix UI build
Browse files Browse the repository at this point in the history
  • Loading branch information
cipi1965 committed Oct 23, 2024
1 parent 8225210 commit ae09db4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion webpack.renderer.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {VueLoaderPlugin} from "vue-loader";
import MiniCssExtractPlugin from "mini-css-extract-plugin";
import CssMinimizerPlugin from "css-minimizer-webpack-plugin";
const isProd = process.env.NODE_ENV === 'production';
import {Configuration} from 'webpack';
import {Configuration, DefinePlugin} from 'webpack';

rules.push({
test: /\.css$/i,
Expand Down Expand Up @@ -39,6 +39,11 @@ export const rendererConfig: Configuration = {
// make sure to include the plugin!
new VueLoaderPlugin(),
new MiniCssExtractPlugin(),
new DefinePlugin({
__VUE_OPTIONS_API__: 'true',
__VUE_PROD_DEVTOOLS__: 'false',
__VUE_PROD_HYDRATION_MISMATCH_DETAILS__: 'false'
})
],
resolve: {
alias: {
Expand Down

0 comments on commit ae09db4

Please sign in to comment.