Skip to content

Commit

Permalink
Fix the mobile and iframe API production build
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Oct 31, 2024
1 parent 1c68af2 commit 6ce94c2
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 6ce94c2

Please sign in to comment.