How to Use NPX Command?

If you are the first time to see npx command, then you may will ask: What’s an NPX? The first time I saw the PX command was in Babel’s documentation. Note: If you do not have a package.json, create one before installing. This will ensure proper interaction with the npx command. I tried it on my own computer and … Read more

How to Configure Globobject in Webpack?

How to configure globobject in webpack correctly? I wrote an NPM package by myself, and configured the libraryTarget configuration in the Webpack to generate js files in umd mode, so that packages can be imported in both NPM mode and script tag mode. However, when the package is imported into the SSR rendered application, an … Read more