You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
330 B
15 lines
330 B
export default {
|
|
// base: '/mgnh5',
|
|
// publicPath: '/mgnh5/',
|
|
define: {
|
|
'process.env.UMI_ENV': 'dev',
|
|
},
|
|
devtool: false,
|
|
chainWebpack: function (config, { webpack }) {
|
|
config.module
|
|
.rule('media')
|
|
.test(/\.(mp3|4)$/)
|
|
.use('file-loader')
|
|
.loader(require.resolve('file-loader'));
|
|
},
|
|
};
|
|
|