1 Star 0 Fork 0

王文超/swagger-editor

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
webpack-dist-bundle.config.js 716 Bytes
一键复制 编辑 原始数据 按行查看 历史
var path = require('path')
var fs = require('fs')
module.exports = require('./make-webpack-config.js')({
_special: {
minimize: true,
sourcemaps: true,
separateStylesheets: false,
loaders: {
"worker.js": ["worker-loader?inline=true&name=[name].js", "babel"],
"react": {
test: require.resolve("react"),
loader: "expose-loader?React"
}
}
},
entry: {
"swagger-editor-bundle": [
"./src/polyfills.js",
'./src/index.js'
]
},
output: {
path: path.join(__dirname, "dist"),
publicPath: "/dist",
library: "SwaggerEditorBundle",
libraryTarget: "umd",
filename: "[name].js",
chunkFilename: "js/[name].js",
},
})
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/wchaospace/swagger-editor.git
[email protected]:wchaospace/swagger-editor.git
wchaospace
swagger-editor
swagger-editor
master

搜索帮助