mirror of
https://github.com/steedos/steedos-platform
synced 2024-11-22 00:01:52 +00:00
32 lines
683 B
JavaScript
32 lines
683 B
JavaScript
/*
|
|
* @Author: baozhoutao@steedos.com
|
|
* @Date: 2024-03-27 15:59:45
|
|
* @LastEditors: baozhoutao@steedos.com
|
|
* @LastEditTime: 2024-03-28 16:06:56
|
|
* @Description:
|
|
*/
|
|
|
|
module.exports = {
|
|
mode: 'production',
|
|
entry: './src/openapi.insert.update.js',
|
|
externals: {
|
|
"__ENV": "__ENV"
|
|
},
|
|
output: {
|
|
path: __dirname + '/dist',
|
|
filename: 'openapi.insert.update.js',
|
|
libraryTarget: 'commonjs'
|
|
},
|
|
module: {
|
|
rules: [
|
|
{ test: /\.js$/, use: 'babel-loader' },
|
|
]
|
|
},
|
|
stats: {
|
|
colors: true,
|
|
warnings: false
|
|
},
|
|
target: "web",
|
|
externals: /k6(\/.*)?/,
|
|
devtool: 'source-map',
|
|
} |