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