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.


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

    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.

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11