H
H
Happy-Child2021-01-25 19:36:56
webpack
Happy-Child, 2021-01-25 19:36:56

How to generate single js file on every change of vue files?

How to configure vue.config.js so that every update of vue/js files generates one final js file in dist? Like during the build, only without compression and for every change in vue / js files.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Daniil Vasilyev, 2021-01-25
@hello_my_name_is_dany

Here is a partial vue.config.js example

module.exports = {
  configureWebpack: {
    optimization: {
      splitChunks: false,
      minimize:  false,
    },
  },
};

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question