mirror of
https://github.com/nextcloud/integration_moodle.git
synced 2025-12-17 21:02:05 +01:00
17 lines
472 B
JavaScript
17 lines
472 B
JavaScript
const { merge } = require('webpack-merge')
|
|
const path = require('path')
|
|
const webpack = require('webpack')
|
|
const webpackConfig = require('@nextcloud/webpack-vue-config')
|
|
|
|
if (webpackConfig.entry && webpackConfig.entry.main) {
|
|
delete webpackConfig.entry.main
|
|
}
|
|
|
|
const config = {
|
|
entry: {
|
|
personalSettings: path.join(__dirname, 'src', 'personalSettings.js'),
|
|
dashboard: path.join(__dirname, 'src', 'dashboard.js'),
|
|
},
|
|
}
|
|
|
|
module.exports = merge(config, webpackConfig)
|