Open Closed

Minify Error #1645


User avatar
0
huseyinalan created
  • ABP Framework version: v4.4.0-rc.2

  • UI type:MVC

Hi,
I have javascript file for a html theme i added this file to Script Contributor class everything was fine but when i changed bundle mode to BundleAndMinify
i got this error message "Strict-mode does not allow duplicate property names".
This file came with theme so i can not change it.
Thanks.

  • resim_2021-07-30_205259.png


6 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Can you share the js files?
    liming.ma@volosoft.com

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    btw if you have the min version(plugins.bundle.min.js) of image.png

    You can use it directly.

  • User Avatar
    0
    huseyinalan created

    hi

    Can you share the js files?
    liming.ma@volosoft.com

    I shared.
    I haven't the min version sorry.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    I will check asap. Thanks.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    HI

    There are some syntax problem with this file.

    You can ignore this file.
    https://docs.abp.io/en/abp/latest/UI/AspNetCore/Bundling-Minification#ignore-for-minification

    You can also minify this file manually then rename it to plugins.bundle.min.js

  • User Avatar
    0
    ServiceBot created
    Support Team Automatic process manager

    This question has been automatically marked as stale because it has not had recent activity.

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.2.0-preview. Updated on March 20, 2025, 18:00