summaryrefslogtreecommitdiffstats
path: root/apps/accessibility/webpack.js
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2019-02-19 13:06:05 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2019-02-19 13:06:05 +0100
commit221c2f2d9d5d0b60fa1f24cfe54fa381f30ece0d (patch)
tree8a6b853c0105bffb5a87375cff2ef5d010bb2302 /apps/accessibility/webpack.js
parenta70099ef10b9f7452443d79519da0aafe2f19d6f (diff)
downloadnextcloud-server-221c2f2d9d5d0b60fa1f24cfe54fa381f30ece0d.tar.gz
nextcloud-server-221c2f2d9d5d0b60fa1f24cfe54fa381f30ece0d.zip
Move accessibility to main webpack
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/accessibility/webpack.js')
-rw-r--r--apps/accessibility/webpack.js28
1 files changed, 28 insertions, 0 deletions
diff --git a/apps/accessibility/webpack.js b/apps/accessibility/webpack.js
new file mode 100644
index 00000000000..8d4695ed7d8
--- /dev/null
+++ b/apps/accessibility/webpack.js
@@ -0,0 +1,28 @@
+const path = require('path');
+const { VueLoaderPlugin } = require('vue-loader');
+
+module.exports = {
+ entry: path.join(__dirname, 'src', 'main.js'),
+ output: {
+ path: path.resolve(__dirname, './js'),
+ publicPath: '/js/',
+ filename: 'accessibility.js'
+ },
+ module: {
+ rules: [
+ {
+ test: /\.vue$/,
+ loader: 'vue-loader'
+ },
+ {
+ test: /\.js$/,
+ loader: 'babel-loader',
+ exclude: /node_modules/
+ }
+ ]
+ },
+ plugins: [new VueLoaderPlugin()],
+ resolve: {
+ extensions: ['*', '.js', '.vue', '.json']
+ }
+};