Specifically made a syntax error in the code to demonstrate the output to the console.

Too much trash and nothing about the error itself. Some small squares, "m" -ki and generally very strange and crooked formatting. Where does it come from and how can it be overcome?

The config is absolutely trivial: just a Vue application.

const Path = require("path"); const VueLoaderPlugin = require("vue-loader/lib/plugin"); module.exports = { mode: "development", entry: Path.join(__dirname, "main.js"), output: { path: Path.join(__dirname, "dist"), filename: "main.js" }, module: { rules: [{ test: /\.js$/, use: "babel-loader" }, { test: /\.vue$/, use: "vue-loader" }, { test: /\.css$/, use: [ "vue-style-loader", "css-loader" ] } ] }, resolve: { alias: { "vue-custom-context-menu": Path.join(__dirname, "..", "src") } }, plugins: [ new VueLoaderPlugin() ] }; 

  • Well, webpack is probably nothing to do with it. This is very similar to problems with fonts in the console output. I do not state, but it is very similar. Try running the build in a different console emulator other than the one you are using. It is also probably worth paying attention to the locale setting. I can not say more precisely about the cause, but I would look for it here, in the settings of the working machine, rather than in the software. Or I still thought that it could be some kind of control characters formatting the output that the console does not support for some reason. - zalex 2:51 pm
  • one
    @zalex> Or I still thought that it could be some kind of control characters that format the output - it is. These are the color codes that my terminal understands perfectly, but the Chrome console displays as text. The only question is what to do. Tried to change the value of Webpack's stats: {colors: /**/ } , but for some reason this did not help. - smellyshovel 6:51 pm
  • And here is a look. github.com/babel/babel/issues/837 - zalex
  • @zalex thank you, that's what I was looking for. Today I will try and write to you. Thanks for participating - smellyshovel
  • Be sure to write, it will be interesting. Just now I sit down for vue :) - zalex

0