Skip to content

Commit

Permalink
fix: trigger a new release, with a valid production build
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-lacatus committed Nov 30, 2023
1 parent c1b47d9 commit 6d9a8e7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
{
"assets": [
{
"path": "dist/*-min-*.zip",
"label": "Minified version"
"path": "dist/*-prod-*.zip",
"label": "Production version"
},
{
"path": "dist/*-dev-*.zip",
Expand Down
6 changes: 4 additions & 2 deletions webpack/webpack.common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,11 @@ export function createConfig(env, argv): WebpackConfiguration {
(result as WebpackConfiguration).optimization = {
minimizer: [
new EsbuildPlugin({
minify: true,
target: 'es2015',
minifyWhitespace: true,
minifySyntax: true,
// identifiers are left unminified because thingworx depends on the variable names for the widget names
minifyIdentifiers: false,
target: 'es2015',
}),
],
};
Expand Down

0 comments on commit 6d9a8e7

Please sign in to comment.