refactor(release): release/bundle scripts are refactored with other intermideate fixes

This commit is contained in:
Nishchit14
2022-10-07 23:53:13 +05:30
parent 4e5d78db53
commit e165f618be
8 changed files with 40 additions and 76 deletions

View File

@@ -15,7 +15,7 @@ module.exports = {
devtool: 'eval-cheap-module-source-map',
devServer: {
//server: 'https',
static: path.join(__dirname, './build/dev'),
static: path.join(__dirname, './build/development'),
compress: true,
port: 3000,
open: true,
@@ -36,7 +36,9 @@ module.exports = {
new webpack.DefinePlugin({
'process.env': {
...env,
FIRECAMP_EXTENSION_AGENT_ID: JSON.stringify(process.env.FIRECAMP_EXTENSION_AGENT_ID),
FIRECAMP_EXTENSION_AGENT_ID: JSON.stringify(
process.env.FIRECAMP_EXTENSION_AGENT_ID
),
},
}),
// new BundleAnalyzerPlugin(),