Skip to content

Commit 1731323

Browse files
authored
Merge pull request #3082 from appirio-tech/dev
Connect 2.4.12
2 parents 6fd3c2f + 46f25e8 commit 1731323

File tree

98 files changed

+9643
-7108
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+9643
-7108
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ workflows:
127127
- build-dev
128128
filters:
129129
branches:
130-
only: ['dev', 'dev-msinteg', 'feature/form-redesign']
130+
only: ['dev', 'dev-msinteg']
131131

132132
- deployProd:
133133
context : org-global

config/webpack/common.js

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
const _ = require('lodash')
1010
const path = require('path')
1111
const webpack = require('webpack')
12+
const CopyPlugin = require('copy-webpack-plugin')
1213
const HtmlWebpackPlugin = require('html-webpack-plugin')
1314
const constants = require('../constants')
1415

@@ -37,10 +38,10 @@ module.exports = {
3738
'.cjsx'
3839
],
3940
alias: {
40-
/*
41-
Connect app uses handlebars which has some issue with webpack
42-
We have to create an alias to concrete file in order to import it
43-
*/
41+
/*
42+
Connect app uses handlebars which has some issue with webpack
43+
We have to create an alias to concrete file in order to import it
44+
*/
4445
handlebars: 'handlebars/dist/handlebars.min.js'
4546
}
4647
},
@@ -95,6 +96,13 @@ module.exports = {
9596
/*
9697
Remove some unused files to reduce bundle size
9798
*/
98-
new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/)
99+
new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/),
100+
101+
/*
102+
Copy files from source to destination.
103+
*/
104+
new CopyPlugin([
105+
{ from: 'src/static', to: 'static' }
106+
])
99107
]
100108
}

0 commit comments

Comments
 (0)