mirror of
https://github.com/sasjs/server.git
synced 2026-01-08 23:10:05 +00:00
Fixed vulnerabilities and remove unused or redundant dependencies (#55)
* chore: fix vulnerabilities and remove unused or redundant dependencies * chore: Added start script and vulnerabilities screenshot * fix: quick fix * fix: converted to typescript + bugs removed Co-authored-by: jahanzaibrao-dev <jahanzaib@tetrahex.com> Co-authored-by: Saad Jutt <ihsan.distranger@gmail.com>
This commit is contained in:
19
web/webpack.prod.ts
Normal file
19
web/webpack.prod.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
import path from 'path'
|
||||
import { Configuration } from 'webpack'
|
||||
import { merge } from 'webpack-merge'
|
||||
|
||||
import common from './webpack.common'
|
||||
|
||||
const prodConfig: Configuration = merge(common, {
|
||||
mode: 'production',
|
||||
output: {
|
||||
path: path.join(__dirname, 'build'),
|
||||
filename: 'index.bundle.js',
|
||||
publicPath: './'
|
||||
},
|
||||
performance: {
|
||||
hints: false
|
||||
}
|
||||
})
|
||||
|
||||
export default prodConfig
|
||||
Reference in New Issue
Block a user