Skip to content

Commit

Permalink
Merge pull request #9524 from camptocamp/fix-production-build
Browse files Browse the repository at this point in the history
Fix the mobile and iframe API production build
  • Loading branch information
sbrunner authored Nov 1, 2024
2 parents c98e0d1 + 6ce94c2 commit 048e778
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions buildtools/webpack.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

const webpack = require('webpack');
const TerserPlugin = require('terser-webpack-plugin');

module.exports = function () {
Expand All @@ -30,15 +29,11 @@ module.exports = function () {
filename: '[name]-[chunkhash:6].js',
assetModuleFilename: '[name]-[contenthash:6][ext]',
},
plugins: [new webpack.optimize.ModuleConcatenationPlugin()],
optimization: {
minimizer: [
new TerserPlugin({
exclude: /.*mapillary\.js$/,
parallel: true,
terserOptions: {
compress: false,
},
}),
],
},
Expand Down

0 comments on commit 048e778

Please sign in to comment.