Wepack 4. Babel-loader error report, solving

{

test: /\.(js)$/,
exclude: /(node_modules)/,
use: {
    loader: "babel-loader",
    options: {
        presets: ["babel-preset-env"],
        plugins: ["babel-plugin-transform-runtime"]
    }
}

}
uses this loader
and the terminal reports an error!

clipboard.png

solve, what error is this reported?

Nov.09,2021

/ src/zixun_index-p/index.js this file setDynamic is not a function, but you call as a function, you can check to see if there is a mistake in the direction of this.

Menu