From 344f7c1320d512a423c9f2133959417823f5cc83 Mon Sep 17 00:00:00 2001 From: rknol Date: Sun, 27 Sep 2020 19:46:27 +0200 Subject: More stuff --- extension/webpack.config.js | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 extension/webpack.config.js (limited to 'extension/webpack.config.js') diff --git a/extension/webpack.config.js b/extension/webpack.config.js new file mode 100644 index 0000000..9c6ad83 --- /dev/null +++ b/extension/webpack.config.js @@ -0,0 +1,25 @@ +// Imports: Dependencies +const path = require('path'); +// require("babel-register");// Webpack Configuration +const config = { + + // Entry + entry:'./junction.js', // Output + output: { + path: path.resolve(__dirname, 'build'), + filename: 'junction.js', + }, // Loaders + module: { + rules : [ + // JavaScript/JSX Files + { + test: /\.jsx$/, + exclude: /node_modules/, + use: ['babel-loader'], + }, + ] + }, + node: { fs: 'empty' },// Plugins + plugins: [], +};// Exports +module.exports = config; \ No newline at end of file -- cgit