]> git.r.bdr.sh - rbdr/junction/blame - extension/webpack.config.js
Merge branch 'rbdr-peer-abstraction' into 'main'
[rbdr/junction] / extension / webpack.config.js
CommitLineData
344f7c13 1// Imports: Dependencies
2const path = require('path');
3// require("babel-register");// Webpack Configuration
4const config = {
5
6 // Entry
eaca9f28 7 entry:'./content_script.js', // Output
344f7c13 8 output: {
9 path: path.resolve(__dirname, 'build'),
eaca9f28 10 filename: 'content_script.js',
344f7c13 11 }, // Loaders
12 module: {
13 rules : [
14 // JavaScript/JSX Files
15 {
93fe1aee 16 test: /\.js$/,
344f7c13 17 exclude: /node_modules/,
18 use: ['babel-loader'],
19 },
20 ]
21 },
22 node: { fs: 'empty' },// Plugins
23 plugins: [],
24};// Exports
eaca9f28 25module.exports = config;