Skip to main content

Im getting this error on heroku when a deploy the app, but in localhost is work fine, this is my lwr.config.json

 

{

    "lwc": { "modules": [{ "dir": "$rootDir/src/modules" },{ "npm": "lightning-base-components" }] },

    "bundleConfig": { "exclude": ["lwc"] },

    "routes": [

        {

            "id": "home",

            "path": "/",

            "rootComponent": "example/app",

            "layoutTemplate": "$layoutsDir/main.html",

            "bootstrap": {

                "syntheticShadow": true

            }

        }

    ]

}

4 个回答
0/9000