L
L
LoveCode &Coffe2019-12-22 15:49:21
webpack
LoveCode &Coffe, 2019-12-22 15:49:21

What is the best way to import 3rd party libraries in webpack 4?

I am writing an application with electron-webpack
And I need to use a third-party library lib.min.js The code is minified there. There is no npm command in the library.
What is the best way to import it into the project. You can create your own npm package to use npm install, just don't publish the package. Or are there better options?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question