After webpack packages the classes in ES6, how should you use the classes in the original ES6?

  1. I packed ES6"s class, in webpack and added
to config.
      library: "libraryName",
      libraryTarget: "umd",
      umdNamedDefine: true

the packaged JS also contains

function webpackUniversalModuleDefinition(root, factory) 

how do I use the methods of classes in ES6?

Mar.25,2021

import and export default

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b35303-2bf69.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b35303-2bf69.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?