Skip to content

Commit

Permalink
Remove bundle & manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Kudinov committed Aug 28, 2024
1 parent 053c5b5 commit 4ad72ad
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
13 changes: 0 additions & 13 deletions frontend/config/webpack.prod.mjs
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
import path from 'path'
import HtmlWebpackPlugin from 'html-webpack-plugin'
import { fileURLToPath } from 'url'
import ZipPlugin from 'zip-webpack-plugin'
import GenerateJsonPlugin from 'generate-json-webpack-plugin'
import smartappManifestJson from '../smartapp-manifest.json' assert { type: 'json' }
import packageJson from '../package.json' assert { type: 'json' }

const __filename = fileURLToPath(import.meta.url)
const __dirname = path.dirname(__filename)
Expand All @@ -22,15 +18,6 @@ export default {
new HtmlWebpackPlugin({
template: './app/public/index.html',
}),
new GenerateJsonPlugin('smartapp-manifest.json', {
...smartappManifestJson,
smartAppVersion: packageJson.version,
bundlePath: `/bundle-${packageJson.version}.zip`,
}),
new ZipPlugin({
filename: `bundle-${packageJson.version}.zip`,
exclude: [/\.map$/]
}),
],
resolve: {
extensions: ['.ts', '.js', '.tsx'],
Expand Down
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "next-feature-smartapp",
"version": "2.3.10",
"version": "2.3.11",
"description": "SmartApp with all features",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 4ad72ad

Please sign in to comment.