I use vue-cli3.0 to build the project load how to set the raw-loader in the project

I use vue-cli3.0 to build the project in the project
need to add loader

 {
    test: /\.glsl$/,
    loader: "raw-loader"
  }
  

so I configure the following in / / vue.config.js

module.exports = {
  lintOnSave: false,
  productionSourceMap: false,
  configureWebpack: {
    module: {
        loaders: [
          {
            test: /\.glsl$/,
            loader: "raw-loader"
          }
        ]
      }
  }
};

but running in this way will report an error. How should I configure it correctly?

clipboard.png

Feb.28,2021
Can loader be configured directly in

module? it should be rules.


is it done, brother? I think the configuration of pug is also a configuration error

.
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-1e98199-16a8.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-1e98199-16a8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?