Importing the Shopware object

To make our plugin compatible with, we changed the following as suggested in forums on this path - / src / Resources / app / administration / src / init
import { Application } from ‚src/core/shopware‘ to const { Application } = Shopware;

Still the issue persists in minified js file and the admin section doesnt open:
„Uncaught TypeError: Super expression must either be null or a function“

Any suggestions related to this? Thanks.