From 221c2f2d9d5d0b60fa1f24cfe54fa381f30ece0d Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Tue, 19 Feb 2019 13:06:05 +0100 Subject: Move accessibility to main webpack Signed-off-by: Roeland Jago Douma --- apps/accessibility/webpack.js | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 apps/accessibility/webpack.js (limited to 'apps/accessibility/webpack.js') 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'] + } +}; -- cgit v1.2.3