nextcloud-swarm-plugin/webpack.config.js
Karim Vergnes 9f24a793aa
fix(copyref): Copy Swarm Reference issue (#59)
* Resolved conflicts

* fix(copyref): Copy Swarm Reference issue

This is a fix for the Copy Swarm Reference feature. Due to the requirement
for a NPM module @nextcloud/files, the JS feature has been moved to src/
and added to the Webpack build list.

As such, `npm run build` is required to build the relevant JS files and
preview this fix.

---------

Co-authored-by: JoaoSRaposo <joaosraposo@gmail.com>
2024-08-30 19:01:09 +02:00

6 lines
210 B
JavaScript

const path = require('path');
const webpackConfig = require('@nextcloud/webpack-vue-config')
webpackConfig.entry['fileactions'] = path.join(__dirname, 'src', 'fileactions.js');
module.exports = webpackConfig