forked from nextcloud/integration_github
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwebpack.js
More file actions
Latest commit
19 lines (15 loc) · 748 Bytes
/
Copy pathwebpack.js
File metadata and controls
19 lines (15 loc) · 748 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
constpath=require('path')
constwebpackConfig=require('@nextcloud/webpack-vue-config')
constbuildMode=process.env.NODE_ENV
constisDev=buildMode==='development'
webpackConfig.devtool=isDev ? 'cheap-source-map' : 'source-map'
webpackConfig.stats={
colors: true,
modules: false,
}
webpackConfig.entry={
personalSettings: {import: path.join(__dirname,'src','personalSettings.js'),filename: 'integration_github-personalSettings.js'},
adminSettings: {import: path.join(__dirname,'src','adminSettings.js'),filename: 'integration_github-adminSettings.js'},
dashboard: {import: path.join(__dirname,'src','dashboard.js'),filename: 'integration_github-dashboard.js'},
}
module.exports=webpackConfig