Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Bundles / Minify are not working on a new PC #5748


User avatar
0
sbenfares created

Hi,

I'm using ANZ on a new PC.

I have installed VS 2017 and all the tools, getting my files from GIT, but when i open my SLN some .js and .css are not minified.

I've run "npm run create-bundles" but in VS2017 i still don't have any minified files.

Any idea ?


3 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    What is the information output by the console when you run "npm run create-bundles"?

  • User Avatar
    0
    sbenfares created

    The output is correct, no error.

    I think there is one or more missing files in the bundle/minifying process.

    For example, i have created a bundle : **wwwroot/view-resources/Areas/Views/_Bundles/account-layout-libs.js ** This bundle is in my bundleConfig.json

    But when i update bundles, or build the solution, it is not handled by the task.

    Any idea ?

  • User Avatar
    0
    sbenfares created

    Sorry, it was a mistake from me, i had 2 bundles with the same name.

    I close this msg