Webpack configuration error!

module: {

rules:[
    {
        test:/\.js$/,
        use: "babel-loader",
        include: /src/,
        exclude: /node_modules/
    }
]

}

add use: "babel-loader" and you will report an error, but if you leave it out, you will not report an error!

May.13,2021

match presets and plugins again.

configure through .babelrc file

clipboard.png

clipboard.png


npm i @babel/preset-react
{
    "presets": ["@babel/preset-env","@babel/preset-react"]
}

learn google to check error messages. Oh

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e446a3-4358d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e446a3-4358d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?