From dbbfedac2f39d14c32d547f0efbf2a836269454a Mon Sep 17 00:00:00 2001 From: Mandeep Singh Date: Fri, 4 Sep 2020 00:16:57 -0700 Subject: [PATCH] - Added missing webpack.config.js to build packages --- .../node_modules/.bin/webpack.config.js | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 DesktopModules/Vanjaro/UXManager/Library/Resources/node_modules/.bin/webpack.config.js diff --git a/DesktopModules/Vanjaro/UXManager/Library/Resources/node_modules/.bin/webpack.config.js b/DesktopModules/Vanjaro/UXManager/Library/Resources/node_modules/.bin/webpack.config.js new file mode 100644 index 000000000..4c995bdf1 --- /dev/null +++ b/DesktopModules/Vanjaro/UXManager/Library/Resources/node_modules/.bin/webpack.config.js @@ -0,0 +1,24 @@ +/// +const HtmlWebpackPlugin = require('html-webpack-plugin'); +const pkg = require('../../package.json'); +const webpack = require('webpack'); +const fs = require('fs'); +const name = pkg.name; +let plugins = []; + +module.exports = { + + entry: '../../Scripts/', + output: { + filename: `../../Scripts/${name}.min.js` + }, + module: { + loaders: [{ + test: /\.js$/, + loader: 'babel-loader', + include: /src/, + }], + }, + plugins: plugins, +}; +