Skip to content

Commit

Permalink
Not extracting license info into separate file
Browse files Browse the repository at this point in the history
  • Loading branch information
marekdedic committed Dec 22, 2024
1 parent 6fafa94 commit 3a73306
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 113 deletions.
8 changes: 8 additions & 0 deletions frontend.webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import HtmlWebpackPlugin from "html-webpack-plugin";
import path from "path";
import { sveltePreprocess } from "svelte-preprocess";
import TerserPlugin from "terser-webpack-plugin";

export default (_, options) => ({
entry: {
Expand Down Expand Up @@ -51,6 +52,13 @@ export default (_, options) => ({
},
],
},
optimization: {
minimizer: [
new TerserPlugin({
extractComments: false,
}),
],
},
output: {
filename: "[name].js",
publicPath: "",
Expand Down
1 change: 0 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import gulp from "gulp";
import filter from "gulp-filter";
import replace from "gulp-replace";
import webpack from "webpack-stream";

import backendWebpackConfig from "./backend.webpack.config.js";
Expand Down
111 changes: 0 additions & 111 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
"gas-webpack-plugin": "^2.6.0",
"gulp": "^5.0.0",
"gulp-filter": "^9.0.1",
"gulp-replace": "^1.1.4",
"html-webpack-plugin": "^5.6.3",
"jest": "^29.7.0",
"npm-run-all": "^4.1.5",
Expand Down

0 comments on commit 3a73306

Please sign in to comment.