diff --git a/templates/main.php b/templates/main.php index 307ef42bb..12696c603 100644 --- a/templates/main.php +++ b/templates/main.php @@ -23,6 +23,6 @@ style('deck', 'globalstyles'); -script('deck', 'deck'); +script('deck', 'main'); \OC::$server->getEventDispatcher()->dispatch('\OCP\Collaboration\Resources::loadAdditionalScripts'); diff --git a/webpack.js b/webpack.js index d3503e89d..54df09859 100644 --- a/webpack.js +++ b/webpack.js @@ -1,10 +1,9 @@ const webpackConfig = require('@nextcloud/webpack-vue-config') -const path = require('path'); +const path = require('path') const { merge } = require('webpack-merge') const config = { entry: { - deck: path.join(__dirname, 'src', 'main.js'), collections: path.join(__dirname, 'src', 'init-collections.js'), dashboard: path.join(__dirname, 'src', 'init-dashboard.js'), }, @@ -17,10 +16,9 @@ const config = { extensions: ['*', '.js', '.vue', '.json'], modules: [ path.resolve(__dirname, 'node_modules'), - 'node_modules' - ] - } -}; + 'node_modules', + ], + }, +} module.exports = merge(webpackConfig, config) -