L
L
lillianfisher2021-05-14 10:40:29
webpack
lillianfisher, 2021-05-14 10:40:29

How to make a separate js file at the same level as dist?

Hello, please tell me how can I create a separate js file that after compilation will be at the same level as dist, that is, the compiler will collect the dist folder and index.js will be at the same nesting level

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Aetae, 2021-05-14
@Aetae

If vue-cli is used, then the project has a public folder, put it there.
If it's pure webpack, then copy webpack plugin is needed .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question